diff options
author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2011-09-07 15:54:21 -0700 |
---|---|---|
committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2011-09-07 15:54:21 -0700 |
commit | 3e0dc06287f9cd470573fb9ce3f0176f4bc35d64 (patch) | |
tree | 9c6d7af21cbbda85fe5bd6fb8e09d5731e773b29 /boto/ec2/address.py | |
parent | 0624177fa2badf83f3733e88588a7aa26b6c31b6 (diff) | |
download | boto-3e0dc06287f9cd470573fb9ce3f0176f4bc35d64.tar.gz |
Read association ID for elastic IP loads
Diffstat (limited to 'boto/ec2/address.py')
-rw-r--r-- | boto/ec2/address.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/boto/ec2/address.py b/boto/ec2/address.py index b040c530..770a9042 100644 --- a/boto/ec2/address.py +++ b/boto/ec2/address.py @@ -34,6 +34,7 @@ class Address(EC2Object): self.instance_id = instance_id self.domain = None self.allocation_id = None + self.association_id = None def __repr__(self): return 'Address:%s' % self.public_ip @@ -47,6 +48,8 @@ class Address(EC2Object): self.domain = value elif name == 'allocationId': self.allocation_id = value + elif name == 'associationId': + self.association_id = value else: setattr(self, name, value) |