Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: boto/ec2/elb/loadbalancer.py

Issue 8386013: Merging in latest boto. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Redoing vendor drop by deleting and then merging. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « boto/ec2/elb/healthcheck.py ('k') | boto/ec2/elb/policies.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boto/ec2/elb/loadbalancer.py
diff --git a/boto/ec2/elb/loadbalancer.py b/boto/ec2/elb/loadbalancer.py
index 9759952e4b34144dce45f87c0fd413bfdcff951b..3c459c1cd006fdab6daeea9f406b90b6c774a943 100644
--- a/boto/ec2/elb/loadbalancer.py
+++ b/boto/ec2/elb/loadbalancer.py
@@ -23,6 +23,7 @@ from boto.ec2.elb.healthcheck import HealthCheck
from boto.ec2.elb.listener import Listener
from boto.ec2.elb.listelement import ListElement
from boto.ec2.elb.policies import Policies
+from boto.ec2.elb.securitygroup import SecurityGroup
from boto.ec2.instanceinfo import InstanceInfo
from boto.resultset import ResultSet
@@ -41,6 +42,9 @@ class LoadBalancer(object):
self.created_time = None
self.instances = None
self.availability_zones = ListElement()
+ self.canonical_hosted_zone_name = None
+ self.canonical_hosted_zone_name_id = None
+ self.source_security_group = None
def __repr__(self):
return 'LoadBalancer:%s' % self.name
@@ -60,6 +64,9 @@ class LoadBalancer(object):
elif name == 'Policies':
self.policies = Policies(self)
return self.policies
+ elif name == 'SourceSecurityGroup':
+ self.source_security_group = SecurityGroup()
+ return self.source_security_group
else:
return None
@@ -72,6 +79,10 @@ class LoadBalancer(object):
self.created_time = value
elif name == 'InstanceId':
self.instances.append(value)
+ elif name == 'CanonicalHostedZoneName':
+ self.canonical_hosted_zone_name = value
+ elif name == 'CanonicalHostedZoneNameID':
+ self.canonical_hosted_zone_name_id = value
else:
setattr(self, name, value)
« no previous file with comments | « boto/ec2/elb/healthcheck.py ('k') | boto/ec2/elb/policies.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698