Current File : //lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyo
�
��Xc@s@ddlmZddlmZmZdefd��YZdS(i����(t
EC2Request(tArgtFiltertDescribeAddressescBs�eZdZeddddddddd�gZed	dd
�eddd�ed
dd�eddd�eddd�eddd�eddd�eddd�gZdgZd�Z	d�Z
RS(s+Show information about elastic IP addressestaddresstmetavartADDRESStnargst*troute_tothelpsTlimit results to specific elastic IP addresses or
                VPC allocation IDss
allocation-ids[VPC only] allocation IDsassociation-ids[VPC only] association IDtdomains[whether the address is a standard
                      ("standard") or VPC ("vpc") addresssinstance-ids'instance the address is associated withsnetwork-interface-idsQ[VPC only] network
                      interface the address is associated withsnetwork-interface-owner-idsD[VPC only] ID of
                      the network interface's ownersprivate-ip-addresssS[VPC only] private address
                      associated with the public addresss	public-ipsthe elastic IP addresstaddressesSetcCs�td�|jjdg�D��}t|jjdg��|}|rftt|��|jd<n|r�tt|��|jd<ndS(Ncss$|]}|jd�r|VqdS(s	eipalloc-N(t
startswith(t.0taddr((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pys	<genexpr>3sRtAllocationIdtPublicIp(tsettargstgettlisttsortedtparams(tselft	alloc_idst
public_ips((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyt
preprocess2s%cCs�x�|jdg�D]n}|jd|jd�|jd�|jdd�|jd�|jd�|jd	�|jd
�f�GHqWdS(NRRtpublicIpt
instanceIdRtstandardtallocationIdt
associationIdtnetworkInterfaceIdtprivateIpAddress(Rttabify(RtresultR((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pytprint_result;sN(t__name__t
__module__tDESCRIPTIONRtNonetARGSRtFILTERSt	LIST_TAGSRR%(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyRs&								N(teuca2ools.commands.ec2RtrequestbuilderRRR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describeaddresses.pyt<module>s