aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
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
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')
-rw-r--r--resources/libraries/python/TrafficGenerator.py1
-rw-r--r--resources/libraries/python/VppConfigGenerator.py9
2 files changed, 10 insertions, 0 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py
index f0e2a17ec0..8976dff348 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -351,6 +351,7 @@ class TrafficGenerator(AbstractMeasurer):
trex_cmd.add(f"-c {Constants.TREX_CORE_COUNT}")
trex_cmd.add(u"--prefix $(hostname)")
trex_cmd.add(u"--hdrh")
+ trex_cmd.add(u"--no-scapy-server")
trex_cmd.add_if(u"--astf", osi_layer == u"L7")
# OptionString does not create double space if extra is empty.
trex_cmd.add(f"{Constants.TREX_EXTRA_CMDLINE}")
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.