Current File : //lib/python2.7/site-packages/euca2ools/commands/ec2/describenetworkinterfaceattribute.pyc |
�
��Xc @ s@ d d l m Z m Z d d l m Z d e f d � � YZ d S( i����( t Argt MutuallyExclusiveArgList( t
EC2Requestt! DescribeNetworkInterfaceAttributec B s� e Z d Z e d d d d d �e e d d d d d
d d d
d d �e d d d d
d d d d d �e d d d d
d d d d d �e d d d d d
d d d d d �� j � g Z d g Z d � Z RS( s, Show an attribute of a VPC network interfacet NetworkInterfaceIdt metavart INTERFACEt helpsG ID of the
network interface to show info for (required)s -ds
--descriptiont destt Attributet actiont store_constt constt descriptions show the interface's descriptions --source-dest-checkt sourceDestChecksO show whether source/destination address
checking is enableds --group-sett groupSetsM show the security groups the
network interface belongs tos -as --attachmentt
attachmentsG show info
about the interface's attachment (if any)c C s] | j d | j d � | j d f � GH| j d d k r^ | j d | d j d � f � GHn� | j d d k r� | j d | d j d � f � GHn� | j d d k r� x� | j d � p� g D]/ } | j d
| j d � | j d � f � GHq� Wne | j d d
k rY| j d
� } | rYg d D] } | j | � ^ q#} | j d g | � GHqYn d S( Nt NETWORKINTERFACEt networkInterfaceIdR R
t DESCRIPTIONt valueR t SOURCEDESTCHECKR t GROUPt groupIdt groupNameR t attachmentIDt deviceIndext statust
attachTimet deleteOnTerminationt
ATTACHMENT( R R R R R ( t tabifyt gett args( t selft resultt groupR t attrt attachment_info( ( s\ /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describenetworkinterfaceattribute.pyt print_result5 s( ( t __name__t
__module__R R R t requiredt ARGSt LIST_TAGSR'