Bug 1488878 - vdsm-client help should show all available commands
Summary: vdsm-client help should show all available commands
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Tools
Version: 4.18.13
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.7
: 4.19.32
Assignee: Irit Goihman
QA Contact: Jan Zmeskal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-06 11:50 UTC by Irit Goihman
Modified: 2017-11-13 12:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-13 12:25:13 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.1+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 75368 0 ovirt-4.1 MERGED vdsm-client: add help message per namespace 2017-09-18 12:40:30 UTC
oVirt gerrit 81552 0 ovirt-4.1 MERGED vdsmapi: get complex type representation 2017-09-18 12:35:27 UTC
oVirt gerrit 81875 0 ovirt-4.1 MERGED vdsm-api: missing object type in MemNode 2017-09-18 12:20:30 UTC
oVirt gerrit 81876 0 ovirt-4.1 MERGED vdsmapi: get method description 2017-09-18 12:37:16 UTC

Description Irit Goihman 2017-09-06 11:50:27 UTC
vdsm-client commands are dynamically created using schema.
Tool help should show all available commands and should be also constructed from the schema.

Comment 1 Jan Zmeskal 2017-10-09 11:49:20 UTC
Please provide verification steps

Comment 2 Irit Goihman 2017-10-14 17:38:32 UTC
Please run:

# vdsm-client --help

all available namespaces should be printed.

# vdsm-client Lease --help

all available methods should be printed.

# vdsm-client Lease create --help

all available arguments should be printed.

Comment 3 Jan Zmeskal 2017-10-20 12:30:16 UTC
Verified on package:
Name        : vdsm-client
Arch        : noarch
Version     : 4.19.34
Release     : 1.el7ev
Size        : 62 k
Repo        : installed
From repo   : rhv-4.1.7
Summary     : VDSM client
URL         : http://www.ovirt.org/develop/developer-guide/vdsm/vdsm/
License     : GPLv2+
Description : Access vdsm API from the command line.

Tested --help for several vdsm-client namespaces->methods->arguments to the deepest nested level.


Note You need to log in before you can comment on or make changes to this bug.