aboutsummaryrefslogtreecommitdiff
path: root/qapi/rocker.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:11:47 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commita35c33f0b090d9504004cdcce9f295acc2c9b4d9 (patch)
tree4ddd59aa09df69b4b64d0d157645a0975edd4a23 /qapi/rocker.json
parent8b0ffce442b9dbfaac65aa4eccdc4cdf5dc0203b (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/rocker.json')
-rw-r--r--qapi/rocker.json6
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' },