From: Mark Huang Date: Fri, 3 Nov 2006 15:00:46 +0000 (+0000) Subject: - add node to accepted roles X-Git-Tag: pycurl-7_13_1~389 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c0093f97c633c4d0c4f9ff79464fda74565d0125;p=plcapi.git - add node to accepted roles --- diff --git a/PLC/Methods/BootGetNodeDetails.py b/PLC/Methods/BootGetNodeDetails.py index 520d80da..b616b5af 100644 --- a/PLC/Methods/BootGetNodeDetails.py +++ b/PLC/Methods/BootGetNodeDetails.py @@ -11,7 +11,10 @@ class BootGetNodeDetails(Method): node session value. """ + roles = ['node'] + accepts = [BootAuth()] + returns = { 'hostname': Node.fields['hostname'], 'boot_state': Node.fields['boot_state'],