IoTlab Rspecs: the rspec element node is NodeElement
authorMohamed Larabi <mohamed.larabi@inria.fr>
Wed, 31 Jul 2013 09:47:03 +0000 (11:47 +0200)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Wed, 31 Jul 2013 09:47:03 +0000 (11:47 +0200)
sfa/rspecs/elements/versions/iotlabv1Node.py

index 8681108..9ad1341 100644 (file)
@@ -10,9 +10,9 @@ from sfa.rspecs.elements.interface import Interface
 from sfa.rspecs.elements.versions.iotlabv1Sliver import Iotlabv1Sliver
 from sfa.util.sfalogging import logger
 
-class IotlabNode(Node):
+class IotlabNode(NodeElement):
     #First get the fields already defined in the class Node
-    fields = list(Node.fields)
+    fields = list(NodeElement.fields)
     #Extend it with iotlab's specific fields
     fields.extend (['archi', 'radio', 'mobile','position'])