Current File : //lib/python2.7/site-packages/euca2ools/commands/ec2/modifynetworkinterfaceattribute.pyc |
�
��Xc @ s` d d l m Z m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d S( i����( t Argt MutuallyExclusiveArgList( t
ArgumentError( t
flexible_bool( t
EC2Requestt ModifyNetworkInterfaceAttributec B s� e Z d Z e d d d d d �e e d d d d d d
d d �e d d d
d e d d d d �e d d d d d d d d d �e d d d d d d d d �� j � e d d d d e d d d d �g Z d � Z RS( s. Modify an attribute of a VPC network interfacet NetworkInterfaceIdt metavart INTERFACEt helps0 ID of the network interface to modify (required)s -ds
--descriptiont dests Description.Valuet DESCs set the interface's descriptions --source-dest-checks SourceDestCheck.Valuet types (true|false)s2 set whether source/destination checking is enableds
--group-idt SecurityGroupIdt actiont appendt GROUPs� set the security groups the
network interface belongs to (use more than one to
specify multiple groups)s -as --attachments Attachment.AttachmentIdt
ATTACHMENTs� the ID of an attachment to
modify. --delete-on-termination is required when this
option is used.s --delete-on-terminations Attachment.DeleteOnTerminations� set whether the interface's attachment will be
deleted when the instance terminates (requires
-a/--attachment)c C s� t j | � | j j d � d k rG | j j d � rG t d � � n | j j d � r� | j j d � d k r� t d � � n d S( Ns Attachment.DeleteOnTerminations Attachment.AttachmentIdsF argument --delete-on-termination may only be used with -a/--attachments>