From a35c33f0b090d9504004cdcce9f295acc2c9b4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 15:11:47 +0200 Subject: qmp-commands: move 'query-rocker' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- qapi/rocker.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qapi/rocker.json') 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' }, -- cgit v1.2.1