X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppConfigGenerator.py;h=c1bde497420b329998f15a17087a7f89d674401e;hb=7aa6f992b37bba91b4aaee2786ffe69e6d7b87af;hp=def23712e5e4b392a66795c4b8bcb116a88c93f3;hpb=0437095f4bf958154f25a3f163f432b22fcdc743;p=csit.git diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index def23712e5..c1bde49742 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -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.