support pgv2 links in the ProtoGENI and SFA RSpec
[sfa.git] / sfa / rspecs / elements / interface.py
diff --git a/sfa/rspecs/elements/interface.py b/sfa/rspecs/elements/interface.py
new file mode 100644 (file)
index 0000000..d2022d8
--- /dev/null
@@ -0,0 +1,11 @@
+class Interface(dict):
+    fields = {'component_id': None,
+              'role': None,
+              'client_id': None,
+              'ipv4': None 
+    }    
+    def __init__(self, fields={}):
+        dict.__init__(self, Interface.fields)
+        self.update(fields)
+        
+