%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/euca2ools/commands/ec2/ |
Current File : //lib/python2.7/site-packages/euca2ools/commands/ec2/assignprivateipaddresses.pyc |
� ��Xc @ s\ d d l Z d d l m Z m Z d d l m Z d d l m Z d e f d � � YZ d S( i����N( t Argt MutuallyExclusiveArgList( t ArgumentError( t EC2Requestt AssignPrivateIpAddressesc B s� e Z d Z e d d d d d d d d �e d d d d d d e j �e e d d d d d d d d d d �e d d d e d d d d d d �� j � e d d d d d d d �g Z d � Z RS( 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-interfacet metavart INTERFACEt destt NetworkInterfaceIdt helpsM ID of the network interface to assign addresses to (required)t positional_interfacet nargst ?t route_tos --secondary-addresss --secondary-private-ip-addresst ADDRESSt PrivateIpAddresst actiont appends� 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-countt typet SecondaryPrivateIpAddressCountt COUNTsu automatically assign a specific number of secondary private IP addresses to the network interfaces --allow-reassignmentt AllowReassignmentt store_truesh Allow addresses to be assigned even if they are already associated with other interfacesc C s� t j | � | j j d � rg | j j d � rP t d j | j d � � � n | j d | j d <n | j j d � s� t d � � n d S( NR R s unrecognized arguments: {0}s+ argument -n/--network-interface is required( R t configuret argst gett paramsR t format( t self( ( sS /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/assignprivateipaddresses.pyR ; s N( t __name__t __module__t DESCRIPTIONR t Nonet argparset SUPPRESSR t intt requiredt ARGSR ( ( ( sS /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/assignprivateipaddresses.pyR "