aboutsummaryrefslogtreecommitdiff
path: root/qapi/rocker.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:14:30 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commit435fcb29067590a38773e00c4caadc7ff6e3eb51 (patch)
treec52a34c9e919b2ebf9f9da9a1b642ef5bfeaebff /qapi/rocker.json
parent7e20b16919e0a8c5040a280416b14ba8c3078fe1 (diff)
qmp-commands: move 'query-rocker-of-dpa-flows' 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.json16
1 files changed, 15 insertions, 1 deletions
diff --git a/qapi/rocker.json b/qapi/rocker.json
index 19ae4982eb..91746f2558 100644
--- a/qapi/rocker.json
+++ b/qapi/rocker.json
@@ -235,9 +235,23 @@
# @tbl-id: #optional flow table ID. If tbl-id is not specified, returns
# flow information for all tables.
#
-# Returns: @Rocker OF-DPA flow information
+# Returns: rocker OF-DPA flow information
#
# Since: 2.4
+#
+# Example:
+#
+# -> { "execute": "query-rocker-of-dpa-flows",
+# "arguments": { "name": "sw1" } }
+# <- { "return": [ {"key": {"in-pport": 0, "priority": 1, "tbl-id": 0},
+# "hits": 138,
+# "cookie": 0,
+# "action": {"goto-tbl": 10},
+# "mask": {"in-pport": 4294901760}
+# },
+# {...more...},
+# ]}
+#
##
{ 'command': 'query-rocker-of-dpa-flows',
'data': { 'name': 'str', '*tbl-id': 'uint32' },