ext_ip should be address
authorTony Mack <tmack@cs.princeton.edu>
Wed, 19 Aug 2009 14:32:40 +0000 (14:32 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 19 Aug 2009 14:32:40 +0000 (14:32 +0000)
sfa/server/aggregate.py

index 58267ee..89849c3 100644 (file)
@@ -107,7 +107,7 @@ class Aggregates(dict):
         address = self.api.config.SFA_AGGREGATE_HOST
         port = self.api.config.SFA_AGGREGATE_PORT
         url = 'http://%(address)s:%(port)s' % locals()
-        local_aggregate = {'hrn': self.api.hrn, 'addr': ext_ip, 'port': port}
+        local_aggregate = {'hrn': self.api.hrn, 'addr': address, 'port': port}
         self.interfaces.append(local_aggregate) 
         self[self.api.hrn] = GeniClient(url, self.api.key_file, self.api.cert_file)