X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fofp-print.at;h=52b84ef8ef40a91009d2cc8b6e93c7ba9c133207;hb=86c1d8dcc38489c9b04ec242a14f6ec64c81fb24;hp=4a627936dee61338111af902b59652a0da333467;hpb=7395c05254df87ce52b37b04478e802befd799d9;p=sliver-openvswitch.git diff --git a/tests/ofp-print.at b/tests/ofp-print.at index 4a627936d..52b84ef8e 100644 --- a/tests/ofp-print.at +++ b/tests/ofp-print.at @@ -978,6 +978,33 @@ OFPT_PORT_MOD (OF1.3) (xid=0x3):port: 3: addr:50:54:00:00:00:01 ]) AT_CLEANUP +AT_SETUP([OFPT_TABLE_MOD - OF1.1]) +AT_KEYWORDS([ofp-print]) +AT_CHECK([ovs-ofctl ofp-print "\ +02 11 00 10 00 00 00 02 02 00 00 00 00 00 00 02 \ +" 3], [0], [dnl +OFPT_TABLE_MOD (OF1.1) (xid=0x2): table_id=2, flow_miss_config=drop +]) +AT_CLEANUP + +AT_SETUP([OFPT_TABLE_MOD - OF1.2]) +AT_KEYWORDS([ofp-print]) +AT_CHECK([ovs-ofctl ofp-print "\ +03 11 00 10 00 00 00 02 02 00 00 00 00 00 00 01 \ +" 3], [0], [dnl +OFPT_TABLE_MOD (OF1.2) (xid=0x2): table_id=2, flow_miss_config=continue +]) +AT_CLEANUP + +AT_SETUP([OFPT_TABLE_MOD - OF1.3]) +AT_KEYWORDS([ofp-print]) +AT_CHECK([ovs-ofctl ofp-print "\ +04 11 00 10 00 00 00 02 02 00 00 00 00 00 00 00 \ +" 3], [0], [dnl +OFPT_TABLE_MOD (OF1.3) (xid=0x2): table_id=2, flow_miss_config=controller +]) +AT_CLEANUP + AT_SETUP([OFPST_DESC request]) AT_KEYWORDS([ofp-print OFPT_STATS_REQUEST]) AT_CHECK([ovs-ofctl ofp-print "0110000c0000000100000000"], [0], [dnl