diff options
author | Ben Pfaff <blp@nicira.com> | 2015-06-22 15:15:40 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-06-22 15:18:10 -0700 |
commit | 0eb48fe138efce1d7ed8c16c549044d12e68a2bf (patch) | |
tree | 88ae3b15a72710023970b96090ba4e3224f1176c /tests/ofproto-dpif.at | |
parent | 7da07bce32175063e62f0f7dc09e15ce11d11007 (diff) | |
download | openvswitch-0eb48fe138efce1d7ed8c16c549044d12e68a2bf.tar.gz |
ofproto-dpif-xlate: Add support for OpenFlow group chaining.
Requested-by: Vinllen Chen <cvinllen@gmail.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
Diffstat (limited to 'tests/ofproto-dpif.at')
-rw-r--r-- | tests/ofproto-dpif.at | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index bd1b21c8e..7f207868a 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -294,13 +294,15 @@ Datapath actions: 10,set(tcp(src=91)),11 OVS_VSWITCHD_STOP AT_CLEANUP -AT_SETUP([ofproto-dpif - group chaining not supported]) +AT_SETUP([ofproto-dpif - group chaining]) OVS_VSWITCHD_START ADD_OF_PORTS([br0], [1], [10], [11]) -AT_CHECK([ovs-ofctl -O OpenFlow12 add-group br0 'group_id=1234,type=all,bucket=output:10,set_field:192.168.3.90->ip_src,group:123,bucket=output:11'], - [1], [], [stderr]) -AT_CHECK([STRIP_XIDS stderr | sed 1q], [0], - [OFPT_ERROR (OF1.2): OFPGMFC_CHAINING_UNSUPPORTED +AT_CHECK([ovs-ofctl -O OpenFlow12 add-group br0 'group_id=1234,type=all,bucket=set_field:192.168.3.90->ip_src,group:123,bucket=output:11']) +AT_CHECK([ovs-ofctl -O OpenFlow12 add-group br0 'group_id=123,type=all,bucket=output:10']) +AT_CHECK([ovs-ofctl -O OpenFlow12 add-flow br0 'ip actions=group:1234']) +AT_CHECK([ovs-appctl ofproto/trace br0 'in_port=1,dl_src=50:54:00:00:00:05,dl_dst=50:54:00:00:00:07,dl_type=0x0800,nw_src=192.168.0.1,nw_dst=192.168.0.2,nw_proto=1,nw_tos=0,nw_ttl=128,icmp_type=8,icmp_code=0'], [0], [stdout]) +AT_CHECK([tail -1 stdout], [0], + [Datapath actions: set(ipv4(src=192.168.3.90)),10,set(ipv4(src=192.168.0.1)),11 ]) OVS_VSWITCHD_STOP AT_CLEANUP |