mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
qmp-commands: move 'query-rocker-ports' 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
a35c33f0b0
commit
7e20b16919
2 changed files with 12 additions and 18 deletions
|
@ -90,11 +90,21 @@
|
|||
##
|
||||
# @query-rocker-ports:
|
||||
#
|
||||
# Return rocker switch information.
|
||||
# Return rocker switch port information.
|
||||
#
|
||||
# Returns: @Rocker information
|
||||
# Returns: a list of @RockerPort information
|
||||
#
|
||||
# Since: 2.4
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-rocker-ports", "arguments": { "name": "sw1" } }
|
||||
# <- { "return": [ {"duplex": "full", "enabled": true, "name": "sw1.1",
|
||||
# "autoneg": "off", "link-up": true, "speed": 10000},
|
||||
# {"duplex": "full", "enabled": true, "name": "sw1.2",
|
||||
# "autoneg": "off", "link-up": true, "speed": 10000}
|
||||
# ]}
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-rocker-ports',
|
||||
'data': { 'name': 'str' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue