diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 15:12:36 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:47 +0100 |
commit | 7e20b16919e0a8c5040a280416b14ba8c3078fe1 (patch) | |
tree | 021d9032e5c1dd2a0df0e5db48c97ac3c01b63a4 /qapi/rocker.json | |
parent | a35c33f0b090d9504004cdcce9f295acc2c9b4d9 (diff) |
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>
Diffstat (limited to 'qapi/rocker.json')
-rw-r--r-- | qapi/rocker.json | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/qapi/rocker.json b/qapi/rocker.json index 547864bb90..19ae4982eb 100644 --- a/qapi/rocker.json +++ b/qapi/rocker.json @@ -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' }, |