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
(parent:
9855105
)
skip aggregates with incomplete connection info
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 24 Mar 2009 13:59:50 +0000
(13:59 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 24 Mar 2009 13:59:50 +0000
(13:59 +0000)
geni/slicemgr.py
patch
|
blob
|
history
diff --git
a/geni/slicemgr.py
b/geni/slicemgr.py
index
7732c9b
..
5b8a43a
100644
(file)
--- a/
geni/slicemgr.py
+++ b/
geni/slicemgr.py
@@
-130,6
+130,8
@@
class SliceMgr(GeniServer):
for aggregate in aggregates:
# create xmlrpc connection using GeniClient
hrn, address, port = aggregate['hrn'], aggregate['addr'], aggregate['port']
+ if not hrn or not address or not port:
+ continue
url = 'http://%(address)s:%(port)s' % locals()
self.aggregates[hrn] = GeniClient(url, self.key_file, self.cert_file)