aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/DUTSetup.py
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-05-05 09:04:34 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-05-05 09:04:34 +0000
commit5efb062fbad4c7710334e8b29f49be8c4d77ac7a (patch)
tree333bb8e1cbb9ef5edb6f81cd75b4421a6a2b25f1 /resources/libraries/python/DUTSetup.py
parent9b28d46b56183770b8b354467f469c7fe5d7f19d (diff)
fix(core): Add vpp log path
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I76e47610a0caa8af8e48a295ce08e799280404be
Diffstat (limited to 'resources/libraries/python/DUTSetup.py')
-rw-r--r--resources/libraries/python/DUTSetup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/libraries/python/DUTSetup.py b/resources/libraries/python/DUTSetup.py
index 6ebd9eab1a..300248c448 100644
--- a/resources/libraries/python/DUTSetup.py
+++ b/resources/libraries/python/DUTSetup.py
@@ -660,6 +660,9 @@ class DUTSetup:
for node in nodes.values():
message = f"Failed to install VPP on host {node[u'host']}!"
if node[u"type"] == NodeType.DUT:
+ command = "mkdir -p /var/log/vpp/"
+ exec_cmd(node, command, sudo=True)
+
command = u"ln -s /dev/null /etc/sysctl.d/80-vpp.conf || true"
exec_cmd_no_error(node, command, sudo=True)