X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppConfigGenerator.py;fp=resources%2Flibraries%2Fpython%2FVppConfigGenerator.py;h=e5a54422c7ca0401d99e2888c177e8f1495b6cf0;hp=93296eba362105d406c9d2247ad42085e0e5cebb;hb=338b195c0d7274b921eb18944d27ed1b4cb3739f;hpb=cfd0d32435a912fccf39aac04959bd0d13a8d0e8 diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index 93296eba36..e5a54422c7 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -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).