X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/2f4b4f7854280567d089fa77be8d283c33e372a7..9c492c2d1404ac7ea6f7902a40c805da7dd787e3:/qa/qa_tags.py diff --git a/qa/qa_tags.py b/qa/qa_tags.py index 9e48696..5aa316d 100644 --- a/qa/qa_tags.py +++ b/qa/qa_tags.py @@ -1,3 +1,6 @@ +# +# + # Copyright (C) 2007 Google Inc. # # This program is free software; you can redistribute it and/or modify @@ -34,6 +37,7 @@ _KIND_TO_COMMAND = { constants.TAG_CLUSTER: "gnt-cluster", constants.TAG_NODE: "gnt-node", constants.TAG_INSTANCE: "gnt-instance", + constants.TAG_NODEGROUP: "gnt-group", } @@ -71,6 +75,11 @@ def TestNodeTags(node): _TestTags(constants.TAG_NODE, node["primary"]) +def TestGroupTags(group): + """gnt-group tags""" + _TestTags(constants.TAG_NODEGROUP, group) + + def TestInstanceTags(instance): """gnt-instance tags""" _TestTags(constants.TAG_INSTANCE, instance["name"])