Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyc
ó
”ōXc @ s@ d d l m Z d d l m Z m Z d e f d YZ d S( i’’’’( t
EC2Request( t Argt Filtert DescribeAddressesc B sĪ e Z d Z e d d d d d d d d d g Z e d d d
e d d d e d
d d e d d d e d d d e d d d e d d d e d d d g Z d g Z d Z d Z
RS( s+ Show information about elastic IP addressest addresst metavart ADDRESSt nargst *t route_tot helpsT limit results to specific elastic IP addresses or
VPC allocation IDss
allocation-ids [VPC only] allocation IDs association-ids [VPC only] association IDt domains[ whether the address is a standard
("standard") or VPC ("vpc") addresss instance-ids' instance the address is associated withs network-interface-idsQ [VPC only] network
interface the address is associated withs network-interface-owner-idsD [VPC only] ID of
the network interface's owners private-ip-addresssS [VPC only] private address
associated with the public addresss public-ips the elastic IP addresst addressesSetc C s t d | j j d g D } t | j j d g | } | rf t t | | j d <n | r t t | | j d <n d S( Nc s s$ | ] } | j d r | Vq d S( s eipalloc-N( t
startswith( t .0t addr( ( sL /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pys <genexpr>3 s R t AllocationIdt PublicIp( t sett argst gett listt sortedt params( t selft alloc_idst
public_ips( ( sL /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyt
preprocess2 s %c C s x | j d g D]n } | j d | j d | j d | j d d | j d | j d | j d | j d
f GHq Wd S( NR R t publicIpt
instanceIdR t standardt allocationIdt
associationIdt networkInterfaceIdt privateIpAddress( R t tabify( R t resultR ( ( sL /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyt print_result; s N( t __name__t
__module__t DESCRIPTIONR t Nonet ARGSR t FILTERSt LIST_TAGSR R% ( ( ( sL /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyR s&