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

ó
”ō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
Back to Directory File Manager