qmp-commands: move 'add_client' 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
eaea2bf72f
commit
65ce54f5e2
@ -1548,24 +1548,6 @@ Example:
|
|||||||
"time": "+60" } }
|
"time": "+60" } }
|
||||||
<- { "return": {} }
|
<- { "return": {} }
|
||||||
|
|
||||||
add_client
|
|
||||||
----------
|
|
||||||
|
|
||||||
Add a graphics client
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
- "protocol": protocol name (json-string)
|
|
||||||
- "fdname": file descriptor name (json-string)
|
|
||||||
- "skipauth": whether to skip authentication (json-bool, optional)
|
|
||||||
- "tls": whether to perform TLS (json-bool, optional)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "add_client", "arguments": { "protocol": "vnc",
|
|
||||||
"fdname": "myclient" } }
|
|
||||||
<- { "return": {} }
|
|
||||||
|
|
||||||
qmp_capabilities
|
qmp_capabilities
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
@ -89,6 +89,13 @@
|
|||||||
# Returns: nothing on success.
|
# Returns: nothing on success.
|
||||||
#
|
#
|
||||||
# Since: 0.14.0
|
# Since: 0.14.0
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "add_client", "arguments": { "protocol": "vnc",
|
||||||
|
# "fdname": "myclient" } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'add_client',
|
{ 'command': 'add_client',
|
||||||
'data': { 'protocol': 'str', 'fdname': 'str', '*skipauth': 'bool',
|
'data': { 'protocol': 'str', 'fdname': 'str', '*skipauth': 'bool',
|
||||||
|
Loading…
Reference in New Issue
Block a user