Returns a list of all valid network methods.
"""
- roles = ['admin', 'pi', 'user', 'tech']
+ roles = ['admin', 'pi', 'user', 'tech', 'node']
accepts = [
Auth()
returns = [NetworkMethod.fields['method']]
+
def call(self, auth):
return [network_method['method'] for network_method in NetworkMethods(self.api)]