diff options
author | Filip Varga <fivarga@cisco.com> | 2022-02-15 11:56:07 -0800 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2022-04-01 13:26:04 +0000 |
commit | b68108203a59e12f4b4435caba164072e234f0aa (patch) | |
tree | ebac2dec7f66f76c3de2f37b5d65aebb949ed124 /test/test_dslite.py | |
parent | 9a485d01fae0d17da5dbdba264f5f7fd104e3a1a (diff) |
nat: nat44-ed cleanup & fixes
Set deprecated option on unsupported API calls.
Cleaned up API calls with deprecated option. Removed
in progress option from long term used API calls.
Removed obsolete/unused nodes, functions, variables.
Fixed set frame queue nelts function. Calling API
would incorrectly not fail even though frame queue nelts
can only be set before first call nat44_plugin_enable.
Moved all formatting functions to _format.c file.
Type: refactor
Change-Id: I3ca16e0568f8d7eee3a27c3620ca36164833a7e4
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'test/test_dslite.py')
-rw-r--r-- | test/test_dslite.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test_dslite.py b/test/test_dslite.py index 8f5995e61fa..912ae17da58 100644 --- a/test/test_dslite.py +++ b/test/test_dslite.py @@ -90,9 +90,6 @@ class TestDSlite(VppTestCase): def test_dslite(self): """ Test DS-Lite """ - nat_config = self.vapi.nat_show_config() - self.assertEqual(0, nat_config.dslite_ce) - self.vapi.dslite_add_del_pool_addr_range(start_addr=self.nat_addr, end_addr=self.nat_addr, is_add=1) @@ -265,11 +262,6 @@ class TestDSliteCE(VppTestCase): def test_dslite_ce(self): """ Test DS-Lite CE """ - - # TODO: add message to retrieve dslite config - # nat_config = self.vapi.nat_show_config() - # self.assertEqual(1, nat_config.dslite_ce) - b4_ip4 = '192.0.0.2' b4_ip6 = '2001:db8:62aa::375e:f4c1:1' self.vapi.dslite_set_b4_addr(ip4_addr=b4_ip4, ip6_addr=b4_ip6) |