diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-04-11 09:28:50 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-04-12 10:52:26 +0000 |
commit | 1bbd587a4c5768f3292dfc88da587c41fed0b3d4 (patch) | |
tree | 9d9e198193b6654bd71747cb81b9f5c138f82e52 /resources/libraries/python | |
parent | 9a0160ae94b1733b50e45c4c157419e74d8eaf4b (diff) |
Add more verbose DPDK logs
Change-Id: I98a07fa88d4959ab05996e053c5c02ef9bda5039
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/VppConfigGenerator.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index d740514994..1185eac7af 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -283,6 +283,15 @@ class VppConfigGenerator(object): path = ['dpdk', 'dev default', 'num-tx-desc'] self.add_config_item(self._nodeconfig, value, path) + def add_dpdk_log_level(self, value): + """Add DPDK log-level configuration. + + :param value: Log level. + :type value: str + """ + path = ['dpdk', 'log-level'] + self.add_config_item(self._nodeconfig, value, path) + def add_dpdk_socketmem(self, value): """Add DPDK socket memory configuration. |