qmp-commands: move 'netdev_del' 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
aa72941bcc
commit
d071f6be51
@ -205,21 +205,6 @@ Example:
|
||||
<- { "return": { "status": "active", "completed": 1024000,
|
||||
"total": 2048000 } }
|
||||
|
||||
netdev_del
|
||||
----------
|
||||
|
||||
Remove host network device.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "id": the device's ID, must be unique (json-string)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "netdev_del", "arguments": { "id": "netdev1" } }
|
||||
<- { "return": {} }
|
||||
|
||||
|
||||
object-add
|
||||
----------
|
||||
|
||||
|
@ -3366,6 +3366,12 @@
|
||||
# If @id is not a valid network backend, DeviceNotFound
|
||||
#
|
||||
# Since: 0.14.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "netdev_del", "arguments": { "id": "netdev1" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'netdev_del', 'data': {'id': 'str'} }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user