From: Tony Mack Date: Fri, 6 Oct 2006 19:54:36 +0000 (+0000) Subject: unnecessary call X-Git-Tag: pycurl-7_13_1~644 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=822b9d822215f3d6337d7c88d5c227210cbc617c;p=plcapi.git unnecessary call --- diff --git a/PLC/Methods/GetNodeNetworkBandwidthLimits.py b/PLC/Methods/GetNodeNetworkBandwidthLimits.py deleted file mode 100644 index d2766cfe..00000000 --- a/PLC/Methods/GetNodeNetworkBandwidthLimits.py +++ /dev/null @@ -1,21 +0,0 @@ -from PLC.Faults import * -from PLC.Method import Method -from PLC.Parameter import Parameter, Mixed -from PLC.NodeNetworks import NodeNetwork, NodeNetworks -from PLC.Auth import PasswordAuth - -class GetNodeNetworkBandwidthLimits(Method): - """ - Returns an array of all the valid bandwith limits for node networks. - """ - - roles = ['admin', 'pi', 'user', 'tech'] - - accepts = [ - PasswordAuth() - ] - - returns = [NodeNetwork.fields['bwlimit']] - - def call(self, auth): - return NodeNetwork.bwlimits