+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
Returns a list of all valid network types.
"""
- roles = ['admin', 'pi', 'user', 'tech']
+ roles = ['admin', 'pi', 'user', 'tech', 'node']
accepts = [
Auth()
returns = [NetworkType.fields['type']]
- event_type = 'Get'
- object_type = 'NetworkType'
def call(self, auth):
return [network_type['type'] for network_type in NetworkTypes(self.api)]