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
this is getting tedious..
[plcapi.git]
/
PLC
/
Methods
/
UpdateNode.py
diff --git
a/PLC/Methods/UpdateNode.py
b/PLC/Methods/UpdateNode.py
index
1cf7a47
..
1f8efbc
100644
(file)
--- a/
PLC/Methods/UpdateNode.py
+++ b/
PLC/Methods/UpdateNode.py
@@
-12,7
+12,7
@@
from PLC.Methods.AddNodeTag import AddNodeTag
from PLC.Methods.UpdateNodeTag import UpdateNodeTag
admin_only = [ 'key', 'session', 'boot_nonce', 'site_id']
from PLC.Methods.UpdateNodeTag import UpdateNodeTag
admin_only = [ 'key', 'session', 'boot_nonce', 'site_id']
-can_update = ['hostname', 'boot_state', 'model', 'version'] + admin_only
+can_update = ['hostname', '
node_type', '
boot_state', 'model', 'version'] + admin_only
class UpdateNode(Method):
"""
class UpdateNode(Method):
"""