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 (from parent 1:
744c636
)
renamed get_resources to resources
author
Tony Mack
<tmack@cs.princeton.edu>
Sun, 12 Apr 2009 22:51:16 +0000
(22:51 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Sun, 12 Apr 2009 22:51:16 +0000
(22:51 +0000)
geni/util/geniclient.py
patch
|
blob
|
history
diff --git
a/geni/util/geniclient.py
b/geni/util/geniclient.py
index
1e010bd
..
0bbf9ac
100644
(file)
--- a/
geni/util/geniclient.py
+++ b/
geni/util/geniclient.py
@@
-243,21
+243,13
@@
class GeniClient():
# Aggregate Interface
#-------------------------------------------------------------------------
# Aggregate Interface
#-------------------------------------------------------------------------
- ## list components
- #
- #
- def list_nodes(self, cred):
-
- result = self.server.list_nodes(cred.save_to_string(save_parents=True))
- return result
-
## list resources
#
# @param cred a credential
# @param hrn slice hrn
## list resources
#
# @param cred a credential
# @param hrn slice hrn
- def
get_
resources(self, cred, hrn=None):
- result = self.server.
get_
resources(cred.save_to_string(save_parents=True), hrn)
+ def resources(self, cred, hrn=None):
+ result = self.server.resources(cred.save_to_string(save_parents=True), hrn)
return result
## get policy
return result
## get policy