git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
543eb18
)
define default connection dict
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 20 Mar 2009 01:29:00 +0000
(
01:29
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 20 Mar 2009 01:29:00 +0000
(
01:29
+0000)
geni/slicemgr.py
patch
|
blob
|
history
diff --git
a/geni/slicemgr.py
b/geni/slicemgr.py
index
8584043
..
7732c9b
100644
(file)
--- 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'
# 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)
self.aggregate_info.load()
# Get cached list of nodes (rspec)