Add stats segment heapsize to default config 47/13447/3
authorPeter Mikus <pmikus@cisco.com>
Thu, 12 Jul 2018 12:50:16 +0000 (12:50 +0000)
committerPeter Mikus <pmikus@cisco.com>
Fri, 13 Jul 2018 09:10:51 +0000 (09:10 +0000)
- Scale tests (ip4, ip6) are failing due to low amount of stats segment
heapsize.

Change-Id: Id9b3e84d5a5c63014c17041c08c00ef6188afa5f
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/python/VppConfigGenerator.py
resources/libraries/robot/shared/default.robot

index 93296eb..e5a5442 100644 (file)
@@ -424,6 +424,15 @@ class VppConfigGenerator(object):
         path = ['ip', 'heap-size']
         self.add_config_item(self._nodeconfig, value, path)
 
+    def add_statseg_size(self, value):
+        """Add stats segment heap size configuration.
+
+        :param value: Stats heapsize amount.
+        :type value: str
+        """
+        path = ['statseg', 'size']
+        self.add_config_item(self._nodeconfig, value, path)
+
     def add_plugin(self, state, *plugins):
         """Add plugin section for specific plugin(s).
 
index f450dc2..b3e10dc 100644 (file)
 | | | Run keyword | ${dut}.Add DPDK Log Level | debug
 | | | Run keyword | ${dut}.Add DPDK Uio Driver
 | | | Run keyword | ${dut}.Add Heapsize | 4G
+| | | Run keyword | ${dut}.Add Statseg size | 4G
 | | | Run keyword | ${dut}.Add Plugin | disable | default
 | | | Run keyword | ${dut}.Add Plugin | enable | @{plugins_to_enable}
 | | | Run keyword | ${dut}.Add IP6 Hash Buckets | 2000000

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.