git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a95db
)
Adding some sfatables-specific stuff in here.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Thu, 24 Sep 2009 00:50:42 +0000
(
00:50
+0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Thu, 24 Sep 2009 00:50:42 +0000
(
00:50
+0000)
sfa/rspecs/aggregates/rspec_manager_openflow.py
patch
|
blob
|
history
sfa/rspecs/aggregates/rspec_manager_pl.py
patch
|
blob
|
history
sfa/rspecs/aggregates/rspec_manager_vini.py
patch
|
blob
|
history
diff --git
a/sfa/rspecs/aggregates/rspec_manager_openflow.py
b/sfa/rspecs/aggregates/rspec_manager_openflow.py
index
8b3a0c0
..
da473c9
100755
(executable)
--- a/
sfa/rspecs/aggregates/rspec_manager_openflow.py
+++ b/
sfa/rspecs/aggregates/rspec_manager_openflow.py
@@
-139,6
+139,9
@@
def get_rspec(cred, hrn=None):
print "IO error"
return None
+def fetch_context(slice_hrn, user_hrn, contexts):
+ return None
+
#def main():
# r = Rspec()
# r.parseFile(sys.argv[1])
diff --git
a/sfa/rspecs/aggregates/rspec_manager_pl.py
b/sfa/rspecs/aggregates/rspec_manager_pl.py
index
32805ca
..
92a32c4
100644
(file)
--- a/
sfa/rspecs/aggregates/rspec_manager_pl.py
+++ b/
sfa/rspecs/aggregates/rspec_manager_pl.py
@@
-1
+1,4
@@
# Nothing here for now.
+
+def fetch_context(slice_hrn, user_hrn, contexts):
+ return None
diff --git
a/sfa/rspecs/aggregates/rspec_manager_vini.py
b/sfa/rspecs/aggregates/rspec_manager_vini.py
index
70131d7
..
f6a21c5
100644
(file)
--- a/
sfa/rspecs/aggregates/rspec_manager_vini.py
+++ b/
sfa/rspecs/aggregates/rspec_manager_vini.py
@@
-194,5
+194,8
@@
def main():
rspec = r.toDict()
create_slice(None,'plc',rspec)
+def fetch_context(slice_hrn, user_hrn, contexts):
+ return None
+
if __name__ == "__main__":
main()