Add macro for OFTABLE_ECMP_NH and replace all table=77
occurrences in OF with table=OFTABLE_ECMP_NH.

Signed-off-by: Ales Musil <[email protected]>
---
 tests/ovn-macros.at | 1 +
 tests/system-ovn.at | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/ovn-macros.at b/tests/ovn-macros.at
index 91779455f..9b01b1491 100644
--- a/tests/ovn-macros.at
+++ b/tests/ovn-macros.at
@@ -1006,3 +1006,4 @@ m4_define([OFTABLE_CHK_IN_PORT_SEC], [73])
 m4_define([OFTABLE_CHK_IN_PORT_SEC_ND], [74])
 m4_define([OFTABLE_CHK_OUT_PORT_SEC], [75])
 m4_define([OFTABLE_ECMP_NH_MAC], [76])
+m4_define([OFTABLE_ECMP_NH], [77])
diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index a44ff4b2b..27b3cdc5b 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -6159,7 +6159,7 @@ OVS_WAIT_UNTIL([
 test $(ovs-ofctl dump-flows br-int | grep -c 'table=OFTABLE_ECMP_NH_MAC, 
n_packets') -eq 0
 ])
 OVS_WAIT_UNTIL([
-test $(ovs-ofctl dump-flows br-int | grep -c 'table=77, n_packets') -eq 0
+test $(ovs-ofctl dump-flows br-int | grep -c 'table=OFTABLE_ECMP_NH, 
n_packets') -eq 0
 ])
 
 ovs-ofctl dump-flows br-int
@@ -6352,7 +6352,7 @@ OVS_WAIT_UNTIL([
 test $(ovs-ofctl dump-flows br-int | grep -c 'table=OFTABLE_ECMP_NH_MAC, 
n_packets') -eq 0
 ])
 OVS_WAIT_UNTIL([
-test $(ovs-ofctl dump-flows br-int | grep -c 'table=77, n_packets') -eq 0
+test $(ovs-ofctl dump-flows br-int | grep -c 'table=OFTABLE_ECMP_NH, 
n_packets') -eq 0
 ])
 
 ovs-ofctl dump-flows br-int
-- 
2.43.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to