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
node_type can be provided at AddNode time
[plcapi.git]
/
PLC
/
Methods
/
AddNode.py
diff --git
a/PLC/Methods/AddNode.py
b/PLC/Methods/AddNode.py
index
07fd7cc
..
5ddb467
100644
(file)
--- a/
PLC/Methods/AddNode.py
+++ b/
PLC/Methods/AddNode.py
@@
-8,7
+8,7
@@
from PLC.Sites import Site, Sites
from PLC.Auth import Auth
can_update = lambda (field, value): field in \
- ['hostname', 'boot_state', 'model', 'version']
+ ['hostname', '
node_type', '
boot_state', 'model', 'version']
class AddNode(Method):
"""