returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_fields):
# Update node state
if node_fields.has_key('boot_state'):
nodenetwork.sync(commit = False)
self.caller.sync(commit = True)
+ self.message = "Node updated: %s" % ", ".join(node_fields.keys())
return 1