Revision 846baef9 scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
754 | 754 |
'deactivate-disks': (DeactivateDisks, ARGS_ONE, [DEBUG_OPT], |
755 | 755 |
"<instance>", |
756 | 756 |
"Deactivate an instance's disks"), |
757 |
'list-tags': (ListTags, ARGS_ONE, [DEBUG_OPT], |
|
758 |
"<node_name>", "List the tags of the given instance"), |
|
759 |
'add-tags': (AddTags, ARGS_ATLEAST(1), [DEBUG_OPT], |
|
760 |
"<node_name> tag...", "Add tags to the given instance"), |
|
761 |
'remove-tags': (RemoveTags, ARGS_ATLEAST(1), [DEBUG_OPT], |
|
762 |
"<node_name> tag...", "Remove tags from given instance"), |
|
757 | 763 |
} |
758 | 764 |
|
759 | 765 |
if __name__ == '__main__': |
760 |
sys.exit(GenericMain(commands)) |
|
766 |
sys.exit(GenericMain(commands, |
|
767 |
override={"tag_type": constants.TAG_INSTANCE})) |
Also available in: Unified diff