diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-08-25 12:51:57 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-08-28 14:11:33 +0000 |
commit | 2bdb1dc59ba736546a6663cbaf55b6edbcac6eab (patch) | |
tree | 2b06427c51f115500542898b167166e889d94cb8 /resources/libraries/python/VppConfigGenerator.py | |
parent | b9ce06b180903e794a806e6eda7a1b076dc9cc8f (diff) |
FIX: SNAT -> NAT renaming of API
- Based on https://gerrit.fd.io/r/#/c/8146/
Change-Id: I774483c7e2b419a9b9b6be78812ecf53a5c91eab
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r-- | resources/libraries/python/VppConfigGenerator.py | 8 |
1 files changed, 4 insertions, 4 deletions
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): |