From: Simon Horman Date: Wed, 30 Oct 2013 09:17:07 +0000 (+0900) Subject: ofproto: Add group features test X-Git-Tag: sliver-openvswitch-2.0.90-1~6^2~46 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d45418dd20d10583e790aacdcae537b203f621be;p=sliver-openvswitch.git ofproto: Add group features test Lightly exercise group features Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- diff --git a/tests/ofproto.at b/tests/ofproto.at index cdd824e48..03ad34666 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -174,6 +174,20 @@ OFPT_QUEUE_GET_CONFIG_REQUEST (OF1.2) (xid=0x2): port=10 OVS_VSWITCHD_STOP AT_CLEANUP +dnl This is really bare-bones. +dnl It at least checks request and reply serialization and deserialization. +AT_SETUP([ofproto - group features]) +OVS_VSWITCHD_START +AT_CHECK([ovs-ofctl -O OpenFlow12 -vwarn dump-group-features br0], [0], [stdout]) +AT_CHECK([STRIP_XIDS stdout], [0], [dnl +OFPST_GROUP_FEATURES reply (OF1.2): + Group table: + Types: 0x0 + Capabilities: 0x0 +]) +OVS_VSWITCHD_STOP +AT_CLEANUP + AT_SETUP([ofproto - mod-port (OpenFlow 1.0)]) OVS_VSWITCHD_START for command_config_state in \