ipv4 attribute not allowd in pgv2/geniv3 node element
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 22 Dec 2011 00:36:44 +0000 (19:36 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 22 Dec 2011 00:36:44 +0000 (19:36 -0500)
sfa/rspecs/elements/versions/pgv2Node.py

index 40c3ee8..4399e3b 100644 (file)
@@ -34,7 +34,7 @@ class PGv2Node:
             # set interfaces
             if node.get('interfaces'):
                 for interface in  node.get('interfaces', []):
-                    node_elem.add_instance('interface', interface, ['component_id', 'client_id', 'ipv4'])
+                    node_elem.add_instance('interface', interface, ['component_id', 'client_id'])
             # set available element
             if node.get('boot_state') and node.get('boot_state').lower() == 'boot':
                 available_elem = node_elem.add_element('available', now='true')