From 50b73fe16586ab18e5822ba9e952dd2fec539cf7 Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Mon, 14 Nov 2016 13:24:55 -0800 Subject: ofproto: Return the OFPC_BUNDLES bit in switch features reply. Add definitions for the OpenFlow 1.4.1/1.5 specific capabilities bits OFPC14_BUNDLES and OFPC14_FLOW_MONITORING. Return the bundles capability bit in switch features reply. Reported-by: Andrej Leitner Signed-off-by: Jarno Rajahalme Acked-by: Ben Pfaff --- tests/ofp-print.at | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'tests/ofp-print.at') diff --git a/tests/ofp-print.at b/tests/ofp-print.at index 694643839..61a71044d 100644 --- a/tests/ofp-print.at +++ b/tests/ofp-print.at @@ -403,6 +403,30 @@ capabilities: FLOW_STATS TABLE_STATS PORT_STATS IP_REASM QUEUE_STATS PORT_BLOCKE ]) AT_CLEANUP +AT_SETUP([OFPT_FEATURES_REPLY - OF1.4]) +AT_KEYWORDS([ofp-print]) +AT_CHECK([ovs-ofctl ofp-print "\ +05 06 00 20 00 00 00 01 00 00 50 54 00 00 00 01 \ +00 00 01 00 ff 00 00 00 00 00 07 6f 00 00 00 00 \ +"], [0], [dnl +OFPT_FEATURES_REPLY (OF1.4) (xid=0x1): dpid:0000505400000001 +n_tables:255, n_buffers:256 +capabilities: FLOW_STATS TABLE_STATS PORT_STATS GROUP_STATS IP_REASM QUEUE_STATS PORT_BLOCKED BUNDLES FLOW_MONITORING +]) +AT_CLEANUP + +AT_SETUP([OFPT_FEATURES_REPLY - OF1.5]) +AT_KEYWORDS([ofp-print]) +AT_CHECK([ovs-ofctl ofp-print "\ +06 06 00 20 00 00 00 01 00 00 50 54 00 00 00 01 \ +00 00 01 00 ff 00 00 00 00 00 07 6f 00 00 00 00 \ +"], [0], [dnl +OFPT_FEATURES_REPLY (OF1.5) (xid=0x1): dpid:0000505400000001 +n_tables:255, n_buffers:256 +capabilities: FLOW_STATS TABLE_STATS PORT_STATS GROUP_STATS IP_REASM QUEUE_STATS PORT_BLOCKED BUNDLES FLOW_MONITORING +]) +AT_CLEANUP + AT_SETUP([OFPT_FEATURES_REPLY - with auxiliary_id - OF1.3]) AT_KEYWORDS([ofp-print]) AT_CHECK([ovs-ofctl ofp-print "\ -- cgit v1.2.1