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:
bc00411
)
added hrn param to start/stop
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 8 Jun 2009 17:41:41 +0000
(17:41 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 8 Jun 2009 17:41:41 +0000
(17:41 +0000)
geni/util/geniclient.py
patch
|
blob
|
history
diff --git
a/geni/util/geniclient.py
b/geni/util/geniclient.py
index
316cc57
..
35065d5
100644
(file)
--- a/
geni/util/geniclient.py
+++ b/
geni/util/geniclient.py
@@
-293,8
+293,8
@@
class GeniClient():
# @param cred a credential identifying the caller (callerGID) and the slice
# (objectGID)
# @param cred a credential identifying the caller (callerGID) and the slice
# (objectGID)
- def start_slice(self, cred):
- result = self.server.start_slice(cred.save_to_string(save_parents=True))
+ def start_slice(self, cred
, hrn
):
+ result = self.server.start_slice(cred.save_to_string(save_parents=True)
, hrn
)
return result
##
return result
##
@@
-303,8
+303,8
@@
class GeniClient():
# @param cred a credential identifying the caller (callerGID) and the slice
# (objectGID)
# @param cred a credential identifying the caller (callerGID) and the slice
# (objectGID)
- def stop_slice(self, cred):
- result = self.server.stop_slice(cred.save_to_string(save_parents=True))
+ def stop_slice(self, cred
, hrn
):
+ result = self.server.stop_slice(cred.save_to_string(save_parents=True)
, hrn
)
return result
##
return result
##