X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FNodeTags.py;h=4949e8cc02500a298e28a26951b92024611a256e;hb=eafc0194bc0dde66e31315a72f2cb05775c9800b;hp=8690a8a4d3cba8a645fd06bb2a71156b0e7a063d;hpb=b3c3e1029ce254558c7135ef114f72c986093aad;p=plcapi.git diff --git a/PLC/NodeTags.py b/PLC/NodeTags.py index 8690a8a..4949e8c 100644 --- a/PLC/NodeTags.py +++ b/PLC/NodeTags.py @@ -8,7 +8,7 @@ from PLC.Parameter import Parameter from PLC.Filter import Filter from PLC.Table import Row, Table from PLC.Nodes import Node, Nodes -from PLC.NodeTagTypes import NodeTagType, NodeTagTypes +from PLC.TagTypes import TagType, TagTypes class NodeTag(Row): """ @@ -22,12 +22,12 @@ class NodeTag(Row): 'node_tag_id': Parameter(int, "Node tag identifier"), 'node_id': Node.fields['node_id'], 'hostname' : Node.fields['hostname'], - 'node_tag_type_id': NodeTagType.fields['node_tag_type_id'], + 'tag_type_id': TagType.fields['tag_type_id'], 'tagvalue': Parameter(str, "Node tag value"), - 'tagname': NodeTagType.fields['tagname'], - 'description': NodeTagType.fields['description'], - 'category': NodeTagType.fields['category'], - 'min_role_id': NodeTagType.fields['min_role_id'], + 'tagname': TagType.fields['tagname'], + 'description': TagType.fields['description'], + 'category': TagType.fields['category'], + 'min_role_id': TagType.fields['min_role_id'], } class NodeTags(Table):