Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIX: SNAT -> NAT renaming of API
[csit.git]
/
resources
/
libraries
/
python
/
VppConfigGenerator.py
diff --git
a/resources/libraries/python/VppConfigGenerator.py
b/resources/libraries/python/VppConfigGenerator.py
index
0331648
..
dac8bae
100644
(file)
--- 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)
path = ['dpdk', 'no-multi-seg']
self.add_config_item(self._nodeconfig, '', path)
- def add_
s
nat(self, value='deterministic'):
- """Add
S
NAT configuration.
+ def add_nat(self, value='deterministic'):
+ """Add NAT configuration.
- :param value:
S
NAT mode.
+ :param value: NAT mode.
:type value: str
"""
:type value: str
"""
- path = ['
s
nat']
+ path = ['nat']
self.add_config_item(self._nodeconfig, value, path)
def apply_config(self, waittime=5, retries=12):
self.add_config_item(self._nodeconfig, value, path)
def apply_config(self, waittime=5, retries=12):