From: Mark Huang Date: Mon, 16 Oct 2006 18:23:33 +0000 (+0000) Subject: deprecate this function; bwlimit now stored as positive int X-Git-Tag: pycurl-7_13_1~563 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6a9963c35eba085d33f40e0ff9367be3fba27e36;p=plcapi.git deprecate this function; bwlimit now stored as positive int --- diff --git a/PLC/Methods/AdmGetAllNodeNetworkBandwidthLimits.py b/PLC/Methods/AdmGetAllNodeNetworkBandwidthLimits.py deleted file mode 100644 index a477b94b..00000000 --- a/PLC/Methods/AdmGetAllNodeNetworkBandwidthLimits.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 AdmGetAllNodeNetworkBandwidthLimits(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