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