qmp-commands: move 'set_link' 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
149ea099cd
commit
f9cfb8f729
@ -1088,21 +1088,6 @@ Example:
|
|||||||
-> { "execute": "balloon", "arguments": { "value": 536870912 } }
|
-> { "execute": "balloon", "arguments": { "value": 536870912 } }
|
||||||
<- { "return": {} }
|
<- { "return": {} }
|
||||||
|
|
||||||
set_link
|
|
||||||
--------
|
|
||||||
|
|
||||||
Change the link status of a network adapter.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
- "name": network device name (json-string)
|
|
||||||
- "up": status is up (json-bool)
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "set_link", "arguments": { "name": "e1000.0", "up": false } }
|
|
||||||
<- { "return": {} }
|
|
||||||
|
|
||||||
getfd
|
getfd
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -2352,6 +2352,13 @@
|
|||||||
# Notes: Not all network adapters support setting link status. This command
|
# Notes: Not all network adapters support setting link status. This command
|
||||||
# will succeed even if the network adapter does not support link status
|
# will succeed even if the network adapter does not support link status
|
||||||
# notification.
|
# notification.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "set_link",
|
||||||
|
# "arguments": { "name": "e1000.0", "up": false } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'set_link', 'data': {'name': 'str', 'up': 'bool'} }
|
{ 'command': 'set_link', 'data': {'name': 'str', 'up': 'bool'} }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user