git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Merge from PlanetLab Europe
[plcapi.git]
/
PLC
/
Methods
/
GetNodes.py
diff --git
a/PLC/Methods/GetNodes.py
b/PLC/Methods/GetNodes.py
index
912e84e
..
8e2931a
100644
(file)
--- a/
PLC/Methods/GetNodes.py
+++ b/
PLC/Methods/GetNodes.py
@@
-23,6
+23,8
@@
class GetNodes(Method):
Auth(),
Mixed([Mixed(Node.fields['node_id'],
Node.fields['hostname'])],
+ Parameter(str,"hostname"),
+ Parameter(int,"node_id"),
Filter(Node.fields)),
Parameter([str], "List of fields to return", nullok = True),
]