@@ -73,7 +73,7 @@ func TestOfnetVrouteAddDelete(t *testing.T) {
73
73
74
74
log .Infof ("Flowlist: %v" , flowList )
75
75
// verify ingress host NAT flows
76
- hpInMatch := fmt .Sprintf ("priority=100 ,in_port=%d actions=goto_table:%d" , testHostPort + i , HOST_DNAT_TBL_ID )
76
+ hpInMatch := fmt .Sprintf ("priority=99 ,in_port=%d actions=goto_table:%d" , testHostPort + i , HOST_DNAT_TBL_ID )
77
77
verifyHostNAT (t , flowList , 0 , hpInMatch , true )
78
78
hpDnatMatch := fmt .Sprintf ("priority=100,ip,in_port=%d,nw_dst=172.20.20.%d actions=set_field:02:02:02:%02x:%02x:%02x->eth_dst,set_field:10.10.%d.%d->ip_dst,write_metadata:0x100000000/0xff00000000,goto_table:%d" , testHostPort + i , NUM_AGENT + 2 , i + 1 , i + 1 , i + 1 , i + 1 , i + 1 , SRV_PROXY_SNAT_TBL_ID )
79
79
verifyHostNAT (t , flowList , HOST_DNAT_TBL_ID , hpDnatMatch , true )
@@ -148,7 +148,7 @@ func TestOfnetVrouteAddDelete(t *testing.T) {
148
148
t .Errorf ("Error getting flow entries. Err: %v" , err )
149
149
}
150
150
// verify ingress host NAT flows
151
- hpInMatch := fmt .Sprintf ("priority=100 ,in_port=%d actions=goto_table:%d" , testHostPort + i , HOST_DNAT_TBL_ID )
151
+ hpInMatch := fmt .Sprintf ("priority=99 ,in_port=%d actions=goto_table:%d" , testHostPort + i , HOST_DNAT_TBL_ID )
152
152
verifyHostNAT (t , flowList , 0 , hpInMatch , false )
153
153
hpDnatMatch := fmt .Sprintf ("priority=100,ip,in_port=%d,nw_dst=172.20.20.%d actions=set_field:02:02:02:%02x:%02x:%02x->eth_dst,set_field:10.10.%d.%d->ip_dst,write_metadata:0x100000000/0xff00000000,goto_table:%d" , testHostPort + i , NUM_AGENT + 2 , i + 1 , i + 1 , i + 1 , i + 1 , i + 1 , SRV_PROXY_SNAT_TBL_ID )
154
154
verifyHostNAT (t , flowList , HOST_DNAT_TBL_ID , hpDnatMatch , false )
0 commit comments