X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FQemuManager.py;h=a9b1b6423e54266fd919e7281e14f24146c14fea;hb=14a71b74b414df7616ccb5ada3d50ecb90d96bae;hp=c55e5af762b1f823db2e848c231780a705c64ce8;hpb=ae652334356c12b167399a340ad55abd1ef7bbce;p=csit.git 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}"