git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
sfa/rspecs/elements/interface.py
@@ -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)
+
+