From 2bdb1dc59ba736546a6663cbaf55b6edbcac6eab Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 25 Aug 2017 12:51:57 +0200 Subject: FIX: SNAT -> NAT renaming of API - Based on https://gerrit.fd.io/r/#/c/8146/ Change-Id: I774483c7e2b419a9b9b6be78812ecf53a5c91eab Signed-off-by: Peter Mikus --- resources/libraries/python/VppConfigGenerator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'resources/libraries/python/VppConfigGenerator.py') diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index 0331648269..dac8bae6bb 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -286,13 +286,13 @@ class VppConfigGenerator(object): path = ['dpdk', 'no-multi-seg'] self.add_config_item(self._nodeconfig, '', path) - def add_snat(self, value='deterministic'): - """Add SNAT configuration. + def add_nat(self, value='deterministic'): + """Add NAT configuration. - :param value: SNAT mode. + :param value: NAT mode. :type value: str """ - path = ['snat'] + path = ['nat'] self.add_config_item(self._nodeconfig, value, path) def apply_config(self, waittime=5, retries=12): -- cgit 1.2.3-korg