X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fofp-print.at;h=4dbae5c6a15654be5eba9912385f75f173591813;hb=6ec5f0c5f0e0b8e5827364a3f1b8b46da8b650ad;hp=1c15ad3152e666cb9e3cc1e0432b719507f9c74a;hpb=22a86f18c4aa481b3b5e5fd6fa71bc74856a60bf;p=sliver-openvswitch.git diff --git a/tests/ofp-print.at b/tests/ofp-print.at index 1c15ad315..4dbae5c6a 100644 --- a/tests/ofp-print.at +++ b/tests/ofp-print.at @@ -657,7 +657,7 @@ OFPST_FLOW request (xid=0x4): @&t@ ]) AT_CLEANUP -AT_SETUP([OFPST_FLOW reply]) +AT_SETUP([OFPST_FLOW reply - OF1.0]) AT_KEYWORDS([ofp-print OFPT_STATS_REPLY]) AT_CHECK([ovs-ofctl ofp-print "\ 01 11 01 e4 00 00 00 04 00 01 00 00 00 60 00 00 \ @@ -701,6 +701,41 @@ OFPST_FLOW reply (xid=0x4): ]) AT_CLEANUP +AT_SETUP([OFPST_FLOW reply - OF1.2]) +AT_KEYWORDS([ofp-print OFPT_STATS_REPLY]) +AT_CHECK([ovs-ofctl ofp-print "\ +03 13 01 78 00 00 00 02 00 01 00 00 00 00 00 00 \ +00 78 00 00 00 00 00 03 01 5e f3 c0 80 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 01 00 00 00 00 00 00 00 62 \ +00 01 00 2d 80 00 00 04 00 00 00 02 80 00 06 06 \ +ca da ad d6 0d 37 80 00 0a 02 08 00 80 00 10 01 \ +00 80 00 04 08 00 00 00 00 00 00 00 00 00 00 00 \ +00 04 00 18 00 00 00 00 00 00 00 10 00 00 00 02 \ +05 dc 00 00 00 00 00 00 00 78 00 00 00 00 00 04 \ +20 7c 0a 40 80 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 02 \ +00 00 00 00 00 00 00 8c 00 01 00 2d 80 00 00 04 \ +00 00 00 02 80 00 06 06 52 54 00 c3 00 89 80 00 \ +0a 02 08 00 80 00 10 01 00 80 00 04 08 00 00 00 \ +00 00 00 00 00 00 00 00 00 04 00 18 00 00 00 00 \ +00 00 00 10 00 00 00 02 05 dc 00 00 00 00 00 00 \ +00 78 00 00 00 00 00 04 20 a9 d1 00 80 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 01 00 00 00 00 00 00 00 2a \ +00 01 00 2d 80 00 00 04 00 00 00 02 80 00 06 06 \ +52 54 00 97 00 69 80 00 0a 02 08 00 80 00 10 01 \ +00 80 00 04 08 00 00 00 00 00 00 00 00 00 00 00 \ +00 04 00 18 00 00 00 00 00 00 00 10 00 00 00 02 \ +05 dc 00 00 00 00 00 00 \ +"], [0], [dnl +OFPST_FLOW reply (OF1.2) (xid=0x2): + cookie=0x0, duration=3.023s, table=0, n_packets=1, n_bytes=98, ip,metadata=0,in_port=2,dl_dst=ca:da:ad:d6:0d:37,nw_tos=0 actions=output:2 + cookie=0x0, duration=4.545s, table=0, n_packets=2, n_bytes=140, ip,metadata=0,in_port=2,dl_dst=52:54:00:c3:00:89,nw_tos=0 actions=output:2 + cookie=0x0, duration=4.548s, table=0, n_packets=1, n_bytes=42, ip,metadata=0,in_port=2,dl_dst=52:54:00:97:00:69,nw_tos=0 actions=output:2 +]) +AT_CLEANUP + AT_SETUP([OFPST_AGGREGATE request]) AT_KEYWORDS([ofp-print OFPT_STATS_REQUEST]) AT_CHECK([ovs-ofctl ofp-print "\