summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/test/test_gbp.py
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2021-02-26 09:31:21 +0100
committerOle Tr�an <otroan@employees.org>2021-02-26 13:15:05 +0000
commite7a80a98bc1deba86a41cf66280101766e04a310 (patch)
treea23ae691e8e36bc62e623b417cbd2daac6f7f811 /src/plugins/gbp/test/test_gbp.py
parentedb1716461113913b4dd08493f6445df3398e664 (diff)
nat: NAT44ED fail if using old plugin option
Fail if obsolete flag is used. Type: fix Change-Id: Id7000de9c82fa2c22692104b2fc1d463e5961f39 Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/gbp/test/test_gbp.py')
-rw-r--r--src/plugins/gbp/test/test_gbp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gbp/test/test_gbp.py b/src/plugins/gbp/test/test_gbp.py
index 5ff6ae439d9..2f55c0876b1 100644
--- a/src/plugins/gbp/test/test_gbp.py
+++ b/src/plugins/gbp/test/test_gbp.py
@@ -832,7 +832,7 @@ class TestGBP(VppTestCase):
"10.0.2.1", "11.0.0.4",
"2001:10:2::1", "3001::4")]
- self.vapi.nat44_plugin_enable_disable(enable=1)
+ self.vapi.nat44_ed_plugin_enable_disable(enable=1)
#
# Config related to each of the EPGs
@@ -1476,7 +1476,7 @@ class TestGBP(VppTestCase):
#
# cleanup
#
- self.vapi.nat44_plugin_enable_disable(enable=0)
+ self.vapi.nat44_ed_plugin_enable_disable(enable=0)
for ep in eps:
# del static mappings for each EP from the 10/8 to 11/8 network