fix value of 'component_manager_id' node attribute in PG RSpec
[sfa.git] / sfa / rspecs / pg_rspec.py
index a151b0a..57381b4 100755 (executable)
@@ -56,8 +56,8 @@ class PGRSpec(RSpec):
                 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: