aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/VppConfigGenerator.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-01-22 13:11:14 +0000
committerPeter Mikus <pmikus@cisco.com>2020-01-23 08:55:10 +0000
commit6ccc6d6811a173b8cc3816c51a2dbef8934b3ffd (patch)
tree606d1c1f0aa71ddf36cc42d9699d4ff41683a9f8 /resources/libraries/python/VppConfigGenerator.py
parent25a8fe0aa594ca010b7f1aad449a2af2b6625bd7 (diff)
FIX: Various issues
- TrafficProfile - IPsec jumbo - TDLK leftover - Trex scapy server Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0601ea75ed6e7318c46124fb02e9c61066089791
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r--resources/libraries/python/VppConfigGenerator.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py
index cd225db896..3318f57d63 100644
--- a/resources/libraries/python/VppConfigGenerator.py
+++ b/resources/libraries/python/VppConfigGenerator.py
@@ -241,6 +241,15 @@ class VppConfigGenerator:
path = [u"buffers", u"buffers-per-numa"]
self.add_config_item(self._nodeconfig, value, path)
+ def add_buffers_default_data_size(self, value):
+ """Increase buffers data-size allocated.
+
+ :param value: Buffers data-size allocated.
+ :type value: int
+ """
+ path = [u"buffers", u"default data-size"]
+ self.add_config_item(self._nodeconfig, value, path)
+
def add_dpdk_dev(self, *devices):
"""Add DPDK PCI device configuration.