@@ -63,17 +63,18 @@ function setup() {
63
63
64
64
# Table 2; incoming from vxlan
65
65
ovs-ofctl -O OpenFlow13 add-flow br0 " table=2, arp, actions=goto_table:7"
66
+ ovs-ofctl -O OpenFlow13 add-flow br0 " table=2, priority=200, ip, nw_dst=${subnet_gateway} , actions=output:2"
66
67
ovs-ofctl -O OpenFlow13 add-flow br0 " table=2, tun_id=0, actions=goto_table:4"
67
- ovs-ofctl -O OpenFlow13 add-flow br0 " table=2, ip, nw_dst=${subnet} , actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[], goto_table:5"
68
+ ovs-ofctl -O OpenFlow13 add-flow br0 " table=2, priority=100, ip, nw_dst=${subnet} , actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[], goto_table:5"
68
69
69
70
# Table 3; incoming from container; filled in by openshift-ovs-subnet
70
71
# But let incoming traffic from docker-only containers through (ingress on vovsbr)
71
72
ovs-ofctl -O OpenFlow13 add-flow br0 " table=3, cookie=0x9, in_port=9, ip, actions=goto_table:4"
72
73
73
74
# Table 4; general routing
74
- ovs-ofctl -O OpenFlow13 add-flow br0 " table=4, ip, nw_dst=${subnet_gateway} , actions=output:2"
75
- ovs-ofctl -O OpenFlow13 add-flow br0 " table=4, ip, nw_dst=${subnet} , actions=goto_table:5"
76
- ovs-ofctl -O OpenFlow13 add-flow br0 " table=4, ip, nw_dst=${cluster_subnet} , actions=goto_table:6"
75
+ ovs-ofctl -O OpenFlow13 add-flow br0 " table=4, priority=200, ip, nw_dst=${subnet_gateway} , actions=output:2"
76
+ ovs-ofctl -O OpenFlow13 add-flow br0 " table=4, priority=150, ip, nw_dst=${subnet} , actions=goto_table:5"
77
+ ovs-ofctl -O OpenFlow13 add-flow br0 " table=4, priority=100, ip, nw_dst=${cluster_subnet} , actions=goto_table:6"
77
78
ovs-ofctl -O OpenFlow13 add-flow br0 " table=4, priority=0, ip, actions=output:2"
78
79
79
80
# Table 5; to local container; mostly filled in by openshift-ovs-multitenant
0 commit comments