qmp-commands: move 'query-rocker' 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
8b0ffce442
commit
a35c33f0b0
@ -312,18 +312,6 @@ Example:
|
||||
-> { "execute": "trace-event-set-state", "arguments": { "name": "qemu_memalign", "enable": "true" } }
|
||||
<- { "return": {} }
|
||||
|
||||
Show rocker switch
|
||||
------------------
|
||||
|
||||
Arguments:
|
||||
|
||||
- "name": switch name
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "query-rocker", "arguments": { "name": "sw1" } }
|
||||
<- { "return": {"name": "sw1", "ports": 2, "id": 1327446905938}}
|
||||
|
||||
Show rocker switch ports
|
||||
------------------------
|
||||
|
||||
|
@ -26,6 +26,12 @@
|
||||
# Returns: @Rocker information
|
||||
#
|
||||
# Since: 2.4
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-rocker", "arguments": { "name": "sw1" } }
|
||||
# <- { "return": {"name": "sw1", "ports": 2, "id": 1327446905938}}
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-rocker',
|
||||
'data': { 'name': 'str' },
|
||||
|
Loading…
Reference in New Issue
Block a user