aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-07-05 14:44:53 +0200
committerPeter Mikus <pmikus@cisco.com>2017-07-05 12:57:44 +0000
commitbc26e009026ea9b3bd3c02a313e71b9bb051e6de (patch)
treeb99076e34b054940de201d1823fda4dc734d0500 /resources
parent050ece3a87fbbad7d04e69ed951c48118edf0a89 (diff)
Fix: DPDK paths after code refactor
Change-Id: I0cc83c48e0c91cdff13f78c65c521f45e551d7a3 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/DPDK/DPDKTools.py4
-rw-r--r--resources/libraries/python/DPDK/L2fwdTest.py2
-rw-r--r--resources/libraries/python/DPDK/L3fwdTest.py2
-rw-r--r--resources/libraries/python/DPDK/SetupDPDKTest.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/resources/libraries/python/DPDK/DPDKTools.py b/resources/libraries/python/DPDK/DPDKTools.py
index 178562355e..6d9eeddc19 100644
--- a/resources/libraries/python/DPDK/DPDKTools.py
+++ b/resources/libraries/python/DPDK/DPDKTools.py
@@ -46,7 +46,7 @@ class DPDKTools(object):
ssh = SSH()
ssh.connect(dut_node)
- cmd = 'cd {0}/dpdk-tests/dpdk_scripts/ && sudo ./init_dpdk.sh {1} {2}' \
+ cmd = 'cd {0}/tests/dpdk/dpdk_scripts/ && sudo ./init_dpdk.sh {1} {2}' \
.format(con.REMOTE_FW_DIR, pci_address1, pci_address2)
(ret_code, _, _) = ssh.exec_command(cmd, timeout=600)
@@ -77,7 +77,7 @@ class DPDKTools(object):
ssh = SSH()
ssh.connect(dut_node)
- cmd = 'cd {0}/dpdk-tests/dpdk_scripts/ && sudo ./cleanup_dpdk.sh ' \
+ cmd = 'cd {0}/tests/dpdk/dpdk_scripts/ && sudo ./cleanup_dpdk.sh ' \
'{1} {2} {3} {4}'.format(con.REMOTE_FW_DIR, if1_driver,
pci_address1, if2_driver, pci_address2)
diff --git a/resources/libraries/python/DPDK/L2fwdTest.py b/resources/libraries/python/DPDK/L2fwdTest.py
index 80a91e2ff6..f5f714a3e9 100644
--- a/resources/libraries/python/DPDK/L2fwdTest.py
+++ b/resources/libraries/python/DPDK/L2fwdTest.py
@@ -45,7 +45,7 @@ class L2fwdTest(object):
ssh = SSH()
ssh.connect(dut_node)
- cmd = 'cd {0}/dpdk-tests/dpdk_scripts/ && sudo ./run_l2fwd.sh {1} ' \
+ cmd = 'cd {0}/tests/dpdk/dpdk_scripts/ && sudo ./run_l2fwd.sh {1} ' \
'{2} {3} {4}'.format(con.REMOTE_FW_DIR, cpu_cores, nb_cores,
queue_nums, jumbo_frames)
diff --git a/resources/libraries/python/DPDK/L3fwdTest.py b/resources/libraries/python/DPDK/L3fwdTest.py
index 6219a08e0c..f52a871a7d 100644
--- a/resources/libraries/python/DPDK/L3fwdTest.py
+++ b/resources/libraries/python/DPDK/L3fwdTest.py
@@ -91,7 +91,7 @@ class L3fwdTest(object):
ssh = SSH()
ssh.connect(dut_node)
- cmd = 'cd {0}/dpdk-tests/dpdk_scripts/ && ./run_l3fwd.sh ' \
+ cmd = 'cd {0}/tests/dpdk/dpdk_scripts/ && ./run_l3fwd.sh ' \
'"{1}" "{2}" {3} {4} {5}'.format(con.REMOTE_FW_DIR, lcores_list, \
port_config_param, adj_mac0, adj_mac1, jumbo_frames)
diff --git a/resources/libraries/python/DPDK/SetupDPDKTest.py b/resources/libraries/python/DPDK/SetupDPDKTest.py
index 06bb9ee9eb..0f70803ed7 100644
--- a/resources/libraries/python/DPDK/SetupDPDKTest.py
+++ b/resources/libraries/python/DPDK/SetupDPDKTest.py
@@ -131,7 +131,7 @@ def install_dpdk_test(node):
ssh.connect(node)
(ret_code, _, stderr) = ssh.exec_command(
- 'cd {0}/dpdk-tests/dpdk_scripts/ && ./install_dpdk.sh'
+ 'cd {0}/tests/dpdk/dpdk_scripts/ && ./install_dpdk.sh'
.format(con.REMOTE_FW_DIR), timeout=600)
if ret_code != 0: