Increase heapsize in default startup configuration 30/9930/6
authorPeter Mikus <pmikus@cisco.com>
Wed, 3 Jan 2018 08:33:51 +0000 (09:33 +0100)
committerPeter Mikus <pmikus@cisco.com>
Wed, 3 Jan 2018 11:47:51 +0000 (11:47 +0000)
Change-Id: Ie9710d6901ab2d134e82a38f6eee1e9e5f88464c
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/python/VppConfigGenerator.py
resources/libraries/robot/shared/default.robot

index def2371..c1bde49 100644 (file)
@@ -180,6 +180,24 @@ class VppConfigGenerator(object):
         path = ['api-segment', 'gid']
         self.add_config_item(self._nodeconfig, value, path)
 
+    def add_api_segment_global_size(self, value):
+        """Add API-SEGMENT global-size configuration.
+
+        :param value: Global size.
+        :type value: str
+        """
+        path = ['api-segment', 'global-size']
+        self.add_config_item(self._nodeconfig, value, path)
+
+    def add_api_segment_api_size(self, value):
+        """Add API-SEGMENT api-size configuration.
+
+        :param value: API size.
+        :type value: str
+        """
+        path = ['api-segment', 'api-size']
+        self.add_config_item(self._nodeconfig, value, path)
+
     def add_dpdk_dev(self, *devices):
         """Add DPDK PCI device configuration.
 
@@ -331,6 +349,15 @@ class VppConfigGenerator(object):
         path = ['ip6', 'heap-size']
         self.add_config_item(self._nodeconfig, value, path)
 
+    def add_ip_heap_size(self, value):
+        """Add IP heap-size configuration.
+
+        :param value: IP Heapsize amount.
+        :type value: str
+        """
+        path = ['ip', 'heap-size']
+        self.add_config_item(self._nodeconfig, value, path)
+
     def add_plugin_disable(self, *plugins):
         """Add plugin disable for specific plugin.
 
index 4761ea8..0b02aa9 100644 (file)
 | | | Run keyword | ${dut}.Add Unix Log
 | | | Run keyword | ${dut}.Add Unix CLI Listen
 | | | Run keyword | ${dut}.Add Unix Nodaemon
+| | | Run keyword | ${dut}.Add API segment global size | 2000M
+| | | Run keyword | ${dut}.Add API segment API size | 1G
 | | | Run keyword | ${dut}.Add DPDK Socketmem | "1024,1024"
-| | | Run keyword | ${dut}.Add Heapsize | "3G"
+| | | Run keyword | ${dut}.Add Heapsize | "4G"
 | | | Run keyword | ${dut}.Add IP6 Hash Buckets | "2000000"
-| | | Run keyword | ${dut}.Add IP6 Heap Size | "3G"
+| | | Run keyword | ${dut}.Add IP6 Heap Size | "4G"
+| | | Run keyword | ${dut}.Add IP Heap Size | "4G"
 
 | Add '${m}' worker threads and '${n}' rxqueues in 3-node single-link circular topology
 | | [Documentation] | Setup M worker threads and N rxqueues in vpp startup\

©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.