git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix value of 'component_manager_id' node attribute in PG RSpec
[sfa.git]
/
sfa
/
rspecs
/
pg_rspec.py
diff --git
a/sfa/rspecs/pg_rspec.py
b/sfa/rspecs/pg_rspec.py
index
a151b0a
..
57381b4
100755
(executable)
--- a/
sfa/rspecs/pg_rspec.py
+++ b/
sfa/rspecs/pg_rspec.py
@@
-56,8
+56,8
@@
class PGRSpec(RSpec):
continue
node_tag = etree.SubElement(self.xml, 'node')
continue
node_tag = etree.SubElement(self.xml, 'node')
- if 'network' in node:
- node_tag.set('component_manager_id', node['network'])
+ if 'network
_urn
' in node:
+ node_tag.set('component_manager_id', node['network
_urn
'])
if 'urn' in node:
node_tag.set('component_id', node['urn'])
if 'hostname' in node:
if 'urn' in node:
node_tag.set('component_id', node['urn'])
if 'hostname' in node: