Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/assignprivateipaddresses.pyc

ó
¡ôXc@s\ddlZddlmZmZddlmZddlmZdefd„ƒYZdS(iÿÿÿÿN(tArgtMutuallyExclusiveArgList(t
ArgumentError(t
EC2RequesttAssignPrivateIpAddressescBsÈeZdZeddddddddƒed	d
ddddejƒeed
dddddddddƒedddeddddddƒƒj	ƒedddddddƒgZ
d„ZRS( s”Assign one or more private IP addresses to a network interface

Note that an instance's type may affect the number of addresses it can hold at once.s-ns--network-interfacetmetavart	INTERFACEtdesttNetworkInterfaceIdthelpsMID of the network interface
                to assign addresses to (required)tpositional_interfacetnargst?troute_tos--secondary-addresss--secondary-private-ip-addresstADDRESStPrivateIpAddresstactiontappends­assign a specific secondary
                    private IP address to the network interface.  Use this
                    option multiple times to add additional addresses.s--secondary-counts$--secondary-private-ip-address-countttypetSecondaryPrivateIpAddressCounttCOUNTsuautomatically assign a specific number of secondary
                    private IP addresses to the network interfaces--allow-reassignmenttAllowReassignmentt
store_trueshAllow addresses to be assigned
                even if they are already associated with other interfacescCsŒtj|ƒ|jjdƒrg|jjdƒrPtdj|jdƒƒ‚n|jd|jd<n|jjdƒsˆtdƒ‚ndS(NR
Rsunrecognized arguments: {0}s+argument -n/--network-interface is required(Rt	configuretargstgettparamsRtformat(tself((sS/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/assignprivateipaddresses.pyR;s
	N(t__name__t
__module__tDESCRIPTIONRtNonetargparsetSUPPRESSRtinttrequiredtARGSR(((sS/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/assignprivateipaddresses.pyR"s&	(	R!trequestbuilderRRtrequestbuilder.exceptionsRteuca2ools.commands.ec2RR(((sS/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/assignprivateipaddresses.pyt<module>s
Back to Directory File Manager