initial checkin
[sfa.git] / sfa / rspecs / elements / interface.py
index d2022d8..7617ade 100644 (file)
@@ -1,11 +1,12 @@
-class Interface(dict):
+from sfa.rspecs.elements.element import Element
+
+class Interface(Element):
     fields = {'component_id': None,
               'role': None,
               'client_id': None,
-              'ipv4': None 
-    }    
-    def __init__(self, fields={}):
-        dict.__init__(self, Interface.fields)
-        self.update(fields)
-        
+              'ipv4': None,
+              'bwlimit': None,
+              'node_id': None,
+              'interface_id': None
     
+    }