Fix: DPDK paths after code refactor 21/7421/2
authorPeter Mikus <pmikus@cisco.com>
Wed, 5 Jul 2017 12:44:53 +0000 (14:44 +0200)
committerPeter Mikus <pmikus@cisco.com>
Wed, 5 Jul 2017 12:57:44 +0000 (12:57 +0000)
Change-Id: I0cc83c48e0c91cdff13f78c65c521f45e551d7a3
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/python/DPDK/DPDKTools.py
resources/libraries/python/DPDK/L2fwdTest.py
resources/libraries/python/DPDK/L3fwdTest.py
resources/libraries/python/DPDK/SetupDPDKTest.py

index 1785623..6d9eedd 100644 (file)
@@ -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)
 
index 80a91e2..f5f714a 100644 (file)
@@ -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)
 
index 6219a08..f52a871 100644 (file)
@@ -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)
 
index 06bb9ee..0f70803 100644 (file)
@@ -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:

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.