�
��Xc@s@ddlmZmZddlmZdefd��YZdS(i����(tArgtMutuallyExclusiveArgList(t
EC2Requestt!DescribeNetworkInterfaceAttributecBs�eZdZeddddd�eedddd d
ddd
dd�eddd d
ddddd�eddd d
ddddd�edddd d
ddddd��j�gZdgZd�ZRS(s,Show an attribute of a VPC network interfacetNetworkInterfaceIdtmetavart INTERFACEthelpsGID of the
network interface to show info for (required)s-ds
--descriptiontdestt Attributetactiontstore_consttconsttdescriptions show the interface's descriptions--source-dest-checktsourceDestChecksOshow whether source/destination address
checking is enableds--group-settgroupSetsMshow the security groups the
network interface belongs tos-as--attachmentt
attachmentsGshow info
about the interface's attachment (if any)cCs]|jd|jd�|jdf�GH|jddkr^|jd|djd�f�GHn�|jddkr�|jd|djd�f�GHn�|jdd kr�x�|jd �p�gD]/}|jd
|jd�|jd�f�GHq�Wne|jdd
krY|jd
�}|rYgdD]}|j|�^q#}|jdg|�GHqYndS(NtNETWORKINTERFACEtnetworkInterfaceIdR R
tDESCRIPTIONtvalueRtSOURCEDESTCHECKRtGROUPtgroupIdt groupNameRtattachmentIDtdeviceIndextstatust
attachTimetdeleteOnTerminationt
ATTACHMENT(RRRRR(ttabifytgettargs(tselftresulttgroupRtattrtattachment_info((s\/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describenetworkinterfaceattribute.pytprint_result5s( ( t__name__t
__module__RRRtrequiredtARGSt LIST_TAGSR'(((s\/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describenetworkinterfaceattribute.pyRs$ N(trequestbuilderRRteuca2ools.commands.ec2RR(((s\/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describenetworkinterfaceattribute.pyt<module>s |