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:
Marc-André Lureau 2016-06-23 13:33:57 +02:00 committed by Markus Armbruster
parent aa72941bcc
commit d071f6be51
2 changed files with 6 additions and 15 deletions

View File

@ -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
----------

View File

@ -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'} }