aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/VppConfigGenerator.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-06-22 13:24:22 +0200
committerTibor Frank <tifrank@cisco.com>2017-06-23 07:56:36 +0000
commit45aa8056fd26ea55e3e229c4d5b164a272a5b3c2 (patch)
treeaf5cf1a96ea01ee10cb023bc090a6a4d8d3a2a1c /resources/libraries/python/VppConfigGenerator.py
parent2a17b5c9e6746cff71eff0e0a9c6f822eb6645f8 (diff)
Update of LXCUtil library
Change-Id: I1a095e45960ca004413c4ecbfd410e41fb621c74 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r--resources/libraries/python/VppConfigGenerator.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py
index 31defd6704..eb628de587 100644
--- a/resources/libraries/python/VppConfigGenerator.py
+++ b/resources/libraries/python/VppConfigGenerator.py
@@ -129,6 +129,11 @@ class VppConfigGenerator(object):
path = ['unix', 'nodaemon']
self.add_config_item(self._nodeconfig, '', path)
+ def add_unix_exec(self, value):
+ """Add UNIX exec configuration."""
+ path = ['unix', 'exec']
+ self.add_config_item(self._nodeconfig, value, path)
+
def add_dpdk_dev(self, *devices):
"""Add DPDK PCI device configuration.