Revision 846baef9 scripts/gnt-cluster
b/scripts/gnt-cluster | ||
---|---|---|
263 | 263 |
"Runs a command on all (or only some) nodes"), |
264 | 264 |
'info': (ShowClusterConfig, ARGS_NONE, [DEBUG_OPT], |
265 | 265 |
"", "Show cluster configuration"), |
266 |
'list-tags': (ListTags, ARGS_NONE, |
|
267 |
[DEBUG_OPT], "", "List the tags of the cluster"), |
|
268 |
'add-tags': (AddTags, ARGS_ANY, [DEBUG_OPT], |
|
269 |
"tag...", "Add tags to the cluster"), |
|
270 |
'remove-tags': (RemoveTags, ARGS_ANY, [DEBUG_OPT], |
|
271 |
"tag...", "Remove tags from the cluster"), |
|
266 | 272 |
} |
267 | 273 |
|
268 | 274 |
if __name__ == '__main__': |
269 |
sys.exit(GenericMain(commands)) |
|
275 |
sys.exit(GenericMain(commands, override={"tag_type": constants.TAG_CLUSTER})) |
Also available in: Unified diff