1 from PLC.Faults import *
2 from PLC.Method import Method
3 from PLC.Parameter import Parameter, Mixed
4 from PLC.NodeNetworks import NodeNetwork, NodeNetworks
5 from PLC.Auth import PasswordAuth
7 class GetNodeNetworkBandwidthLimits(Method):
9 Returns an array of all the valid bandwith limits for node networks.
12 roles = ['admin', 'pi', 'user', 'tech']
18 returns = [NodeNetwork.fields['bwlimit']]
21 return NodeNetwork.bwlimits