Revision 819cbfe5 lib/client/gnt_group.py
b/lib/client/gnt_group.py | ||
---|---|---|
209 | 209 |
"rename": ( |
210 | 210 |
RenameGroup, [ArgGroup(min=2, max=2)], [DRY_RUN_OPT], |
211 | 211 |
"[--dry-run] <group-name> <new-name>", "Rename a node group"), |
212 |
} |
|
212 |
"list-tags": ( |
|
213 |
ListTags, ARGS_ONE_GROUP, [PRIORITY_OPT], |
|
214 |
"<instance_name>", "List the tags of the given instance"), |
|
215 |
"add-tags": ( |
|
216 |
AddTags, [ArgGroup(min=1, max=1), ArgUnknown()], |
|
217 |
[TAG_SRC_OPT, PRIORITY_OPT], |
|
218 |
"<instance_name> tag...", "Add tags to the given instance"), |
|
219 |
"remove-tags": ( |
|
220 |
RemoveTags, [ArgGroup(min=1, max=1), ArgUnknown()], |
|
221 |
[TAG_SRC_OPT, PRIORITY_OPT], |
|
222 |
"<instance_name> tag...", "Remove tags from given instance"), |
|
223 |
} |
|
213 | 224 |
|
214 | 225 |
|
215 | 226 |
def Main(): |
216 |
return GenericMain(commands) |
|
227 |
return GenericMain(commands, |
|
228 |
override={"tag_type": constants.TAG_NODEGROUP}) |
Also available in: Unified diff