Current File : //lib/python2.7/site-packages/euca2ools/commands/ec2/createnetworkinterface.pyo
�
��Xc@s@ddlmZmZddlmZdefd��YZdS(i����(tArgtMutuallyExclusiveArgList(t
EC2RequesttCreateNetworkInterfacecBs�eZdZeddddd�edddd	dd
dd�edd
dddddddd�eddddd$dd�eedddddd$dddd�edddedddddd��gZd d!gZd"�Z	d#�Z
RS(%s"Create a new VPC network interfacetSubnetIdtmetavartSUBNETthelpsHsubnet to create
                the new network interface in (required)s-ds
--descriptiontdesttDescriptiontDESCs)description for the new network interfaces-gs--grouptSecurityGroupIdtGROUPtactiontappends�ID of a security group to add the new network interface
                to.  This option may be used more than once.  Each time adds
                the network interface to an additional security group.s--private-ip-addresstADDRESStroute_tosYassign a specific primary private IP address to the
                new network interfaces--secondary-addresss--secondary-private-ip-addresss�assign a specific secondary private IP address
                    to the new network interface.  Use this option multiple
                    times to add additional addresses.s--secondary-counts$--secondary-private-ip-address-countttypetSecondaryPrivateIpAddressCounttCOUNTsyautomatically assign a specific number of secondary
                    private IP addresses to the new network interfacetgroupSettprivateIpAddressesSetcCs�g}|jjd�r=|ji|jdd6td6�nx;|jjd�pUgD]!}|ji|d6td6�qVW||jd<dS(Ntprivate_ip_addresstPrivateIpAddresstPrimarytsecondary_private_ip_addresstPrivateIpAddresses(targstgetRtTruetFalsetparams(tselftaddrstaddr((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createnetworkinterface.pyt
preprocess:scCs |j|jd�pi�dS(NtnetworkInterface(tprint_interfaceR(R tresult((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createnetworkinterface.pytprint_resultCsN(t__name__t
__module__tDESCRIPTIONRtNoneRtinttARGSt	LIST_TAGSR#R'(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createnetworkinterface.pyRs*		N(trequestbuilderRRteuca2ools.commands.ec2RR(((sQ/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createnetworkinterface.pyt<module>s