back out 'extrainfo' field from extended/new API functions
authorStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 18 Mar 2009 16:08:08 +0000 (16:08 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 18 Mar 2009 16:08:08 +0000 (16:08 +0000)
PLC/Methods/ReportRunlevel.py
PLC/Nodes.py

index d1cdf39..57b3afe 100644 (file)
@@ -5,7 +5,7 @@ from PLC.Parameter import Parameter, Mixed
 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):
     """
@@ -16,7 +16,6 @@ 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'])
index f25a617..679254a 100644 (file)
@@ -49,7 +49,6 @@ class Node(Row):
         '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),