git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow tech to Get node and interface tags
[plcapi.git]
/
PLC
/
Methods
/
GetNodeTags.py
diff --git
a/PLC/Methods/GetNodeTags.py
b/PLC/Methods/GetNodeTags.py
index
fd53dcd
..
3ae9fd6
100644
(file)
--- a/
PLC/Methods/GetNodeTags.py
+++ b/
PLC/Methods/GetNodeTags.py
@@
-1,8
+1,6
@@
#
# Thierry Parmentelat - INRIA
#
#
# Thierry Parmentelat - INRIA
#
-# $Revision: 9423 $
-#
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-24,7
+22,7
@@
class GetNodeTags(Method):
the specified details will be returned.
"""
the specified details will be returned.
"""
- roles = ['admin', 'pi', 'user', 'node']
+ roles = ['admin', 'pi', 'user', '
tech', '
node']
accepts = [
Auth(),
accepts = [
Auth(),
@@
-35,7
+33,7
@@
class GetNodeTags(Method):
]
returns = [NodeTag.fields]
]
returns = [NodeTag.fields]
-
+
def call(self, auth, node_tag_filter = None, return_fields = None):
def call(self, auth, node_tag_filter = None, return_fields = None):