1 from PLC.Method import Method
2 from PLC.Parameter import Parameter, Mixed
3 from PLC.Auth import PasswordAuth, BootAuth
5 class BootUpdateNode(Method):
7 Allows the calling node to update its own record. Only the primary
8 network can be updated, and the node IP cannot be changed.
10 Returns 1 if updated successfully.
13 accepts = [BootAuth(), dict]
14 returns = Parameter(int, '1 if successful')
16 def call(self, auth, update_fields):