Bug 1488878

Summary: vdsm-client help should show all available commands
Product: [oVirt] vdsm Reporter: Irit Goihman <igoihman>
Component: ToolsAssignee: Irit Goihman <igoihman>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Zmeskal <jzmeskal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.18.13CC: bugs, igoihman, lsvaty, mperina, ratamir
Target Milestone: ovirt-4.1.7Flags: rule-engine: ovirt-4.1+
pstehlik: testing_ack+
Target Release: 4.19.32   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-13 12:25:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.