from PLC.Auth import Auth, BootAuth, SessionAuth
from PLC.Nodes import Node, Nodes
-can_update = ['run_level', 'extrainfo']
+can_update = ['run_level']
class ReportRunlevel(Method):
"""
accepts = [
Mixed(BootAuth(), SessionAuth(), Auth()),
{'run_level': Node.fields['run_level'],
- 'extrainfo': Node.fields['extrainfo'],
},
Mixed(Node.fields['node_id'],
Node.fields['hostname'])
'site_id': Parameter(int, "Site at which this node is located"),
'boot_state': Parameter(str, "Boot state", max = 20),
'run_level': Parameter(str, "Run level", max = 20),
- 'extrainfo': Parameter(str, "Extra information about the host", max = 256),
'model': Parameter(str, "Make and model of the actual machine", max = 255, nullok = True),
'boot_nonce': Parameter(str, "(Admin only) Random value generated by the node at last boot", max = 128),
'version': Parameter(str, "Apparent Boot CD version", max = 64),