git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3c8c8d3
)
- only query the node_fields we need
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 20 Aug 2007 19:11:55 +0000
(19:11 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 20 Aug 2007 19:11:55 +0000
(19:11 +0000)
PLC/Methods/AddSliceToNodes.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/AddSliceToNodes.py
b/PLC/Methods/AddSliceToNodes.py
index
3cfd327
..
ce8bb1c
100644
(file)
--- a/
PLC/Methods/AddSliceToNodes.py
+++ b/
PLC/Methods/AddSliceToNodes.py
@@
-47,7
+47,7
@@
class AddSliceToNodes(Method):
raise PLCPermissionDenied, "Specified slice not associated with any of your sites"
# Get specified nodes, add them to the slice
- nodes = Nodes(self.api, node_id_or_hostname_list)
+ nodes = Nodes(self.api, node_id_or_hostname_list
, ['node_id', 'hostname', 'slice_ids', 'slice_ids_whitelist']
)
for node in nodes:
# check the slice whitelist on each node first
if node['slice_ids_whitelist'] and \