ó FRTc@s*ddlmZdefd„ƒYZdS(i’’’’(t EC2ObjecttAddresscBsheZdZdddd„Zd„Zd„Zed„ZeZ dddeed„Z ed„Z RS(sä Represents an EC2 Elastic IP Address :ivar public_ip: The Elastic IP address. :ivar instance_id: The instance the address is associated with (if any). :ivar domain: Indicates whether the address is a EC2 address or a VPC address (standard|vpc). :ivar allocation_id: The allocation ID for the address (VPC addresses only). :ivar association_id: The association ID for the address (VPC addresses only). :ivar network_interface_id: The network interface (if any) that the address is associated with (VPC addresses only). :ivar network_interface_owner_id: The owner IID (VPC addresses only). :ivar private_ip_address: The private IP address associated with the Elastic IP address (VPC addresses only). cCsktt|ƒj|ƒ||_||_||_d|_d|_d|_ d|_ d|_ d|_ dS(N( tsuperRt__init__t connectiont public_ipt instance_idtNonetdomaint allocation_idtassociation_idtnetwork_interface_idtnetwork_interface_owner_idtprivate_ip_address(tselfRRR((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pyR(s        cCs d|jS(Ns Address:%s(R(R((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pyt__repr__4scCsŌ|dkr||_nø|dkr0||_n |dkrH||_nˆ|dkr`||_np|dkrx||_nX|dkr||_n@|dkrØ||_n(|dkrĄ||_nt|||ƒdS( NtpublicIpt instanceIdRt allocationIdt associationIdtnetworkInterfaceIdtnetworkInterfaceOwnerIdtprivateIpAddress( RRRR R R R R tsetattr(RtnametvalueR((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pyt endElement7s"                cCsE|jr%|jjd|jd|ƒS|jjd|jd|ƒSdS(sz Free up this Elastic IP address. :see: :meth:`boto.ec2.connection.EC2Connection.release_address` R tdry_runRN(R Rtrelease_addressR(RR((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pytreleaseKs     cCsz|jrF|jjd|d|jd|jd|d|d|d|ƒS|jjd|d|jd|d|d|d|ƒS(s  Associate this Elastic IP address with a currently running instance. :see: :meth:`boto.ec2.connection.EC2Connection.associate_address` RRR R R tallow_reassociationR(R Rtassociate_addressR(RRR R RR((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pyt associate\s       cCsE|jr%|jjd|jd|ƒS|jjd|jd|ƒSdS(s¦ Disassociate this Elastic IP address from a currently running instance. :see: :meth:`boto.ec2.connection.EC2Connection.disassociate_address` R RRN(R Rtdisassociate_addressR(RR((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pyt disassociatets     N( t__name__t __module__t__doc__RRRRtFalseRtdeleteR R"(((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pyRs    N(tboto.ec2.ec2objectRR(((s=/opt/freeware/lib/python2.7/site-packages/boto/ec2/address.pyts