aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/QemuManager.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-03-12 13:18:18 +0000
committerPeter Mikus <pmikus@cisco.com>2020-03-17 11:55:42 +0000
commit2896038b90897258842a5b8fe9582d84fe532644 (patch)
tree7f2ac1e0f77940fbd3227245bfa9062712662993 /resources/libraries/python/QemuManager.py
parentc5cca31223146ceaad73de575b05c46d076ad6f4 (diff)
FIX: VHOST vpp
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Id0d41a2e62ee6cce212fb2c09a0357d794426a00
Diffstat (limited to 'resources/libraries/python/QemuManager.py')
-rw-r--r--resources/libraries/python/QemuManager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/QemuManager.py b/resources/libraries/python/QemuManager.py
index c55e5af762..a9b1b6423e 100644
--- a/resources/libraries/python/QemuManager.py
+++ b/resources/libraries/python/QemuManager.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -62,8 +62,8 @@ class QemuManager:
for nf_node in range(1, nf_nodes + 1):
qemu_id = (nf_chain - 1) * nf_nodes + nf_node
name = f"{node}_{qemu_id}"
- sock1 = f"/var/run/vpp/sock-{qemu_id}-1"
- sock2 = f"/var/run/vpp/sock-{qemu_id}-2"
+ sock1 = f"/run/vpp/sock-{qemu_id}-1"
+ sock2 = f"/run/vpp/sock-{qemu_id}-2"
idx1 = (nf_chain - 1) * nf_nodes * 2 + nf_node * 2 - 1
vif1_mac = Topology.get_interface_mac(
self.nodes[node], f"vhost{idx1}"