qmp-commands: move 'change' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
342816b975
commit
01387ae560
@ -72,33 +72,6 @@ Example:
|
||||
|
||||
Note: The "force" argument defaults to false.
|
||||
|
||||
change
|
||||
------
|
||||
|
||||
Change a removable medium or VNC configuration.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "device": device name (json-string)
|
||||
- "target": filename or item (json-string)
|
||||
- "arg": additional argument (json-string, optional)
|
||||
|
||||
Examples:
|
||||
|
||||
1. Change a removable medium
|
||||
|
||||
-> { "execute": "change",
|
||||
"arguments": { "device": "ide1-cd0",
|
||||
"target": "/srv/images/Fedora-12-x86_64-DVD.iso" } }
|
||||
<- { "return": {} }
|
||||
|
||||
2. Change VNC password
|
||||
|
||||
-> { "execute": "change",
|
||||
"arguments": { "device": "vnc", "target": "password",
|
||||
"arg": "foobar1" } }
|
||||
<- { "return": {} }
|
||||
|
||||
screendump
|
||||
----------
|
||||
|
||||
|
@ -2874,6 +2874,23 @@
|
||||
# change-vnc-password.
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# 1. Change a removable medium
|
||||
#
|
||||
# -> { "execute": "change",
|
||||
# "arguments": { "device": "ide1-cd0",
|
||||
# "target": "/srv/images/Fedora-12-x86_64-DVD.iso" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
# 2. Change VNC password
|
||||
#
|
||||
# -> { "execute": "change",
|
||||
# "arguments": { "device": "vnc", "target": "password",
|
||||
# "arg": "foobar1" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'change',
|
||||
'data': {'device': 'str', 'target': 'str', '*arg': 'str'} }
|
||||
|
Loading…
Reference in New Issue
Block a user