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:
8fc5fd9
)
for now use sfa.plc.nodes.get_rspec() when trying to get a slice's resources. This...
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 17 Jul 2009 15:29:48 +0000
(15:29 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 17 Jul 2009 15:29:48 +0000
(15:29 +0000)
sfa/rspecs/aggregates/rspec_manager_vini.py
patch
|
blob
|
history
diff --git
a/sfa/rspecs/aggregates/rspec_manager_vini.py
b/sfa/rspecs/aggregates/rspec_manager_vini.py
index
27fde8f
..
dd68a6e
100644
(file)
--- a/
sfa/rspecs/aggregates/rspec_manager_vini.py
+++ b/
sfa/rspecs/aggregates/rspec_manager_vini.py
@@
-2,6
+2,7
@@
from sfa.util.faults import *
from sfa.util.misc import *
from sfa.util.rspec import Rspec
from sfa.server.registry import Registries
+from sfa.plc.nodes import *
import sys
import pdb
@@
-120,6
+121,12
@@
def get_rspec(api, hrn):
rspec = None
if (hrn):
+ # XX rspec is expected to be xml, not None.
+ # call the default sfa.plc.nodes.get_rspec() methods
+ # until things are complete here
+ nodes = Nodes(api)
+ rspec = nodes.get_rspec(hrn)
+
# Convert HRN to slice name
# Get SliceTags for the slice