qmp-commands: move 'migrate_set_downtime' 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
92dcfb434c
commit
de0b45ea6b
|
@ -332,20 +332,6 @@ Example:
|
||||||
-> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
|
-> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
|
||||||
<- { "return": {} }
|
<- { "return": {} }
|
||||||
|
|
||||||
migrate_set_downtime
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
Set maximum tolerated downtime (in seconds) for migrations.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
- "value": maximum downtime (json-number)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
|
|
||||||
<- { "return": {} }
|
|
||||||
|
|
||||||
x-colo-lost-heartbeat
|
x-colo-lost-heartbeat
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|
|
@ -2608,6 +2608,12 @@
|
||||||
# Notes: This command is deprecated in favor of 'migrate-set-parameters'
|
# Notes: This command is deprecated in favor of 'migrate-set-parameters'
|
||||||
#
|
#
|
||||||
# Since: 0.14.0
|
# Since: 0.14.0
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }
|
{ 'command': 'migrate_set_downtime', 'data': {'value': 'number'} }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue