From 31641b69218a0a514fa27b6dea5482971a2cd862 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 20 Mar 2009 01:29:00 +0000 Subject: [PATCH] define default connection dict --- geni/slicemgr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geni/slicemgr.py b/geni/slicemgr.py index 85840433..7732c9b2 100644 --- a/geni/slicemgr.py +++ b/geni/slicemgr.py @@ -51,7 +51,8 @@ class SliceMgr(GeniServer): # Get list of aggregates this sm talks to aggregates_file = self.server_basedir + os.sep + 'aggregates.xml' - self.aggregate_info = XmlStorage(aggregates_file, {'aggregates': {'aggregate': []}} ) + connection_dict = {'hrn': '', 'addr': '', 'port': ''} + self.aggregate_info = XmlStorage(aggregates_file, {'aggregates': {'aggregate': [connection_dict]}} ) self.aggregate_info.load() # Get cached list of nodes (rspec) -- 2.43.0