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:
20b743c
)
Don't display imported sites in the RSpec
author
Andy Bavier
<acb@cs.princeton.edu>
Thu, 12 Nov 2009 19:58:46 +0000
(19:58 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Thu, 12 Nov 2009 19:58:46 +0000
(19:58 +0000)
sfa/rspecs/aggregates/vini/utils.py
patch
|
blob
|
history
diff --git
a/sfa/rspecs/aggregates/vini/utils.py
b/sfa/rspecs/aggregates/vini/utils.py
index
b5bfa5c
..
1704528
100644
(file)
--- a/
sfa/rspecs/aggregates/vini/utils.py
+++ b/
sfa/rspecs/aggregates/vini/utils.py
@@
-560,12
+560,12
@@
class Topology:
"""
def toxml(self, hrn = None):
xml = """<?xml version="1.0"?>
-<RSpec
xmlns="http://www.planet-lab.org/sfa/rspec/"
name="vini">
+<RSpec name="vini">
<Capacity>
<NetSpec name="physical_topology">"""
for site in self.getSites():
- if not (site.public and site.enabled):
+ if not (site.public and site.enabled
and site.node_ids
):
continue
xml += """