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
(parent:
45e1fc9
)
- add node to accepted roles
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 3 Nov 2006 15:00:46 +0000
(15:00 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 3 Nov 2006 15:00:46 +0000
(15:00 +0000)
PLC/Methods/BootGetNodeDetails.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/BootGetNodeDetails.py
b/PLC/Methods/BootGetNodeDetails.py
index
520d80d
..
b616b5a
100644
(file)
--- a/
PLC/Methods/BootGetNodeDetails.py
+++ b/
PLC/Methods/BootGetNodeDetails.py
@@
-11,7
+11,10
@@
class BootGetNodeDetails(Method):
node session value.
"""
+ roles = ['node']
+
accepts = [BootAuth()]
+
returns = {
'hostname': Node.fields['hostname'],
'boot_state': Node.fields['boot_state'],