Revision ed54b47e qa/qa_tags.py
b/qa/qa_tags.py | ||
---|---|---|
74 | 74 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
75 | 75 |
|
76 | 76 |
|
77 |
@qa_utils.DefineHook('tags-cluster') |
|
78 | 77 |
def TestClusterTags(): |
79 | 78 |
"""gnt-cluster tags""" |
80 | 79 |
_TestTags(constants.TAG_CLUSTER, "") |
81 | 80 |
|
82 | 81 |
|
83 |
@qa_utils.DefineHook('tags-node') |
|
84 | 82 |
def TestNodeTags(node): |
85 | 83 |
"""gnt-node tags""" |
86 | 84 |
_TestTags(constants.TAG_NODE, node["primary"]) |
87 | 85 |
|
88 | 86 |
|
89 |
@qa_utils.DefineHook('tags-instance') |
|
90 | 87 |
def TestInstanceTags(instance): |
91 | 88 |
"""gnt-instance tags""" |
92 | 89 |
_TestTags(constants.TAG_INSTANCE, instance["name"]) |
Also available in: Unified diff