vdsm-client(1)
| man(1) | vdsm-client man page | man(1) |
NAME
vdsm-client - VDSM's command line interface
SYNOPSIS
vdsm-client [-a HOST] [-p PORT] [--insecure] [--timeout TIMEOUT] [-f FILE] namespace method [args]
DESCRIPTION
The vdsm-client is a command-line client to vdsmd(8) API. It is intended to assist testing and debugging of the oVirt suite.
Invoking commands with simple parameters
simple command parameters should have pattern of name1=value name2=value
vdsm-client VM getStats vmID=b3f6fa00-b315-4ad4-8108-f73da817b5c5
will print stats of a VM by its ID.
Invoking commands with complex parameters
For invoking commands with complex or many arguments, you can read a JSON dictionary from a file:
vdsm-client -f lease.json Lease info
where lease.json file content is:
{
"lease": {
"sd_id": "75ab40e3-06b1-4a54-a825-2df7a40b93b2",
"lease_id": "b3f6fa00-b315-4ad4-8108-f73da817b5c5"
}
}
Reading from standard input
It is also possible to read parameters from standard input, creating complex parameters interactively
cat <<EOF | vdsm-client -f - Lease info
{
"lease": {
"sd_id": "75ab40e3-06b1-4a54-a825-2df7a40b93b2",
"lease_id": "b3f6fa00-b315-4ad4-8108-f73da817b5c5"
}
}
EOF
WARNING
vdsm-client is a debug tool, which is capable of harming the operation of a single oVirt node and even a complete oVirt cluster. Its use is not supported or endorsed.
OPTIONS
- -h
- Display vdsm-client's help
- --insecure
- Connect to server in an insecure manner.
- --timeout TIMEOUT
- Change the method timeout. Default value is 60 seconds.
- -f --file FILE
- Provide a file that contains method parameters in JSON format.
SEE ALSO
vdsmd(8)
BUGS
Report bugs to <http://bugzilla.redhat.com>
COPYRIGHT
Copyright 2017 Red Hat, Inc. License GPLv2: GNU GPL Version 2 <http://gnu.org/licenses/gpl.html>.
| 19 January, 2017 | 1.0 |
