Red Hat Bugzilla – Bug 961371
RHEVM-CLI: --parent-tag-id and --parent-tag-name options doesn't exists in 'add tag' options, they are working (should be added to autocompletion)
Last modified: 2016-02-10 14:38:04 EST
Build: sf15 [RHEVM shell (connected)]# add tag --description 'Test Tag Description' --name 'foo' id : 8dcabbeb-6e87-47a4-a31f-22e0e555d362 name : foo description : Test Tag Description parent-tag-id: 00000000-0000-0000-0000-000000000000 [RHEVM shell (connected)]# list tags id : 8dcabbeb-6e87-47a4-a31f-22e0e555d362 name : foo description: Test Tag Description id : 00000000-0000-0000-0000-000000000000 name : root description: root [RHEVM shell (connected)]# add tag --description 'Test Tag Description' --name 'SubFoo' --parent-tag-id '8dcabbeb-6e87-47a4-a31f-22e0e555d362' id : 027fd20b-be2c-4a83-bb54-fc7e71238fb5 name : SubFoo description : Test Tag Description parent-tag-id: 8dcabbeb-6e87-47a4-a31f-22e0e555d362 [RHEVM shell (connected)]# add tag --description 'Test Tag Description' --name 'Submoo' --parent-tag-name 'foo' id : 3aa79916-e7df-4887-9252-c32cb68711c3 name : Submoo description : Test Tag Description parent-tag-id: 8dcabbeb-6e87-47a4-a31f-22e0e555d362 [RHEVM shell (connected)]# add tag correlation_id description group host name parent-name user vm
maybe to add to Release Notes? otherwize customer will not be able to cretea subtags via cli
[root@ilia-rhevm ~]# rpm -q rhevm-cli rhevm-cli-3.3.0.3-1.el6ev.noarch [root@ilia-rhevm ~]# /usr/bin/rhevm-shell -c --url=https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I Password: ========================================== >>> connected to RHEVM manager 3.3.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# #add tag --description 'Test Tag Description' --name 'foo' [RHEVM shell (connected)]# add tag --description 'Test Tag Description' --name 'foo' id : 778f6d54-6dc2-4dd8-9d5f-2b107b5ea3bc name : foo description : Test Tag Description parent-tag-id: 00000000-0000-0000-0000-000000000000 [RHEVM shell (connected)]# add tag --description 'Test Tag Description' --name 'SubFoo' parent-tag- parent-tag-id parent-tag-name [RHEVM shell (connected)]# add tag --description 'Test Tag Description' --name 'SubFoo' --parent-tag-id 778f6d54-6dc2-4dd8-9d5f-2b107b5ea3bc id : 50a5120d-6091-4071-a4b1-82d601157573 name : SubFoo description : Test Tag Description parent-tag-id: 778f6d54-6dc2-4dd8-9d5f-2b107b5ea3bc [RHEVM shell (connected)]# add tag --description 'Test Tag Description' --name 'SubMoo' --parent-tag-name SubFoo id : b2a34f4a-4956-4572-82f9-409cd14a4320 name : SubMoo description : Test Tag Description parent-tag-id: 50a5120d-6091-4071-a4b1-82d601157573 [RHEVM shell (connected)]#
Closing - RHEV 3.3 Released