summaryrefslogtreecommitdiff
path: root/tests/ofp-print.at
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2014-05-09 12:28:09 -0700
committerBen Pfaff <blp@nicira.com>2014-05-14 10:31:43 -0700
commit1bb2cdbef2dbbd946fb3f8e82417303ae801c2f8 (patch)
treec1642cd372dfe1d5b107cec625816fa74cb2f710 /tests/ofp-print.at
parent5469537be57efb7c49c848706fbe16772c11771d (diff)
downloadopenvswitch-1bb2cdbef2dbbd946fb3f8e82417303ae801c2f8.tar.gz
Implement OpenFlow 1.4 queue statistics.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/ofp-print.at')
-rw-r--r--tests/ofp-print.at34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/ofp-print.at b/tests/ofp-print.at
index e90d5bb5a..a38bd6d80 100644
--- a/tests/ofp-print.at
+++ b/tests/ofp-print.at
@@ -1790,6 +1790,40 @@ OFPST_QUEUE reply (OF1.3) (xid=0x1): 6 queues
])
AT_CLEANUP
+AT_SETUP([OFPST_QUEUE reply - OF1.4])
+AT_KEYWORDS([ofp-print OFPT_STATS_REPLY])
+AT_CHECK([ovs-ofctl ofp-print "\
+05 13 01 30 00 00 00 01 00 05 00 00 00 00 00 00 \
+00 30 00 00 00 00 00 00 \
+00 00 00 03 00 00 00 01 00 00 00 00 00 00 01 2e \
+00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 \
+00 00 00 64 1d cd 65 00 00 30 00 00 00 00 00 00 \
+00 00 00 03 00 00 00 02 00 00 00 00 00 00 00 00 \
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \
+00 00 00 64 1d cd 65 00 00 30 00 00 00 00 00 00 \
+00 00 00 02 00 00 00 01 00 00 00 00 00 00 08 34 \
+00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 00 \
+00 00 00 64 1d cd 65 00 00 30 00 00 00 00 00 00 \
+00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00 \
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \
+00 00 00 64 1d cd 65 00 00 30 00 00 00 00 00 00 \
+00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 \
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \
+00 00 00 64 1d cd 65 00 00 30 00 00 00 00 00 00 \
+00 00 00 01 00 00 00 02 00 00 00 00 00 00 00 00 \
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 \
+ff ff ff ff ff ff ff ff \
+"], [0], [dnl
+OFPST_QUEUE reply (OF1.4) (xid=0x1): 6 queues
+ port 3 queue 1: bytes=302, pkts=1, errors=0, duration=100.500s
+ port 3 queue 2: bytes=0, pkts=0, errors=0, duration=100.500s
+ port 2 queue 1: bytes=2100, pkts=20, errors=0, duration=100.500s
+ port 2 queue 2: bytes=0, pkts=0, errors=0, duration=100.500s
+ port 1 queue 1: bytes=0, pkts=0, errors=0, duration=100.500s
+ port 1 queue 2: bytes=0, pkts=0, errors=0, duration=?
+])
+AT_CLEANUP
+
AT_SETUP([OFPST_GROUP request])
AT_KEYWORDS([ofp-print OFPT_STATS_REQUEST])
AT_CHECK([ovs-ofctl ofp-print "\