Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/85269/?format=api
https://patches.dpdk.org/api/patches/85269/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/1608180491-18330-1-git-send-email-yogesh.jangra@intel.com/", "project": { "id": 3, "url": "https://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<1608180491-18330-1-git-send-email-yogesh.jangra@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1608180491-18330-1-git-send-email-yogesh.jangra@intel.com", "date": "2020-12-17T04:48:11", "name": "tests/TestSuite_pipeline.py: Modify the hard coded app parameter", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "3cf86cae1f925be60dc1dd6b23644d091923dfe1", "submitter": { "id": 2025, "url": "https://patches.dpdk.org/api/people/2025/?format=api", "name": "Yogesh Jangra", "email": "yogesh.jangra@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/1608180491-18330-1-git-send-email-yogesh.jangra@intel.com/mbox/", "series": [ { "id": 14338, "url": "https://patches.dpdk.org/api/series/14338/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=14338", "date": "2020-12-17T04:48:11", "name": "tests/TestSuite_pipeline.py: Modify the hard coded app parameter", "version": 1, "mbox": "https://patches.dpdk.org/series/14338/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/85269/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/85269/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2D732A09F0;\n\tThu, 17 Dec 2020 05:51:08 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DEA9BC9CA;\n\tThu, 17 Dec 2020 05:51:06 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 58C212BB5\n for <dts@dpdk.org>; Thu, 17 Dec 2020 05:51:03 +0100 (CET)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Dec 2020 20:51:00 -0800", "from unknown (HELO bdcdev09.localdomain) ([10.190.193.143])\n by fmsmga007.fm.intel.com with ESMTP; 16 Dec 2020 20:50:58 -0800" ], "IronPort-SDR": [ "\n PJN07IU8uhtAtm+40oSm79mwHrTuMuRGpaxp4gQVpzggegRqDBYISKvG93+UiB2YVs0w3SVhW7\n 3SP+uQR66urQ==", "\n uuKzXa+JEDG6fCGEUdhV7lUnGpbCqJYwI4cWun1rd082LYHIl2LSuCFm0o1mKmbacz9doOH66r\n aHqnauoASl9Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9837\"; a=\"154996061\"", "E=Sophos;i=\"5.78,425,1599548400\"; d=\"scan'208\";a=\"154996061\"", "E=Sophos;i=\"5.78,425,1599548400\"; d=\"scan'208\";a=\"333918389\"" ], "X-ExtLoop1": "1", "From": "Yogesh Jangra <yogesh.jangra@intel.com>", "To": "dts@dpdk.org", "Cc": "venkata.suresh.kumar.p@intel.com, churchill.khangar@intel.com,\n balachandher.sambasivam@intel.com", "Date": "Wed, 16 Dec 2020 23:48:11 -0500", "Message-Id": "<1608180491-18330-1-git-send-email-yogesh.jangra@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dts] [PATCH] tests/TestSuite_pipeline.py: Modify the hard coded\n\tapp parameter", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "Modify the hard coded app parameter to call the platform interface\n\nSigned-off-by: Yogesh Jangra <yogesh.jangra@intel.com>\nTested-by: Venkata Suresh Kumar P <venkata.suresh.kumar.p@intel.com>\n---\n tests/TestSuite_pipeline.py | 728 +++++++++-----------------------------------\n 1 file changed, 147 insertions(+), 581 deletions(-)", "diff": "diff --git a/tests/TestSuite_pipeline.py b/tests/TestSuite_pipeline.py\nindex 9933fd7..9597896 100644\n--- a/tests/TestSuite_pipeline.py\n+++ b/tests/TestSuite_pipeline.py\n@@ -278,6 +278,8 @@ class TestPipeline(TestCase):\n self.vf2_mac = \"00:11:22:33:44:57\"\n self.vf3_mac = \"00:11:22:33:44:58\"\n \n+ ports = [self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci]\n+ self.eal_para = self.dut.create_eal_parameters(cores=list(range(2)), ports=ports)\n self.sriov_vfs_port = []\n self.session_secondary = self.dut.new_session()\n \n@@ -317,11 +319,7 @@ class TestPipeline(TestCase):\n self.dut.send_expect(cmd, \"# \", 20)\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n-\n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -358,10 +356,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -396,10 +391,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -434,10 +426,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -472,10 +461,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -510,10 +496,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -548,10 +531,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -586,10 +566,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -624,10 +601,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -662,10 +636,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -700,10 +671,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -738,10 +706,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -776,10 +741,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -814,10 +776,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -852,10 +811,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -890,10 +846,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -928,10 +881,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -966,10 +916,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1004,10 +951,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1042,10 +986,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1080,10 +1021,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1118,10 +1056,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1156,10 +1091,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1194,10 +1126,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1232,10 +1161,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1270,10 +1196,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1308,10 +1231,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1346,10 +1266,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1384,10 +1301,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1422,10 +1336,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1460,10 +1371,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1502,10 +1410,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n in_pcap_file = 'pipeline/xor_006/pcap_files/in_1.txt'\n@@ -1545,10 +1450,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n in_pcap_file = 'pipeline/xor_007/pcap_files/in_1.txt'\n@@ -1584,10 +1486,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1622,10 +1521,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1660,10 +1556,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1698,10 +1591,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1733,10 +1623,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1771,10 +1658,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1809,10 +1693,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1847,10 +1728,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1885,10 +1763,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1923,10 +1798,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1961,10 +1833,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -1999,10 +1868,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2037,10 +1903,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2075,10 +1938,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2113,10 +1973,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2151,10 +2008,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2189,10 +2043,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2227,10 +2078,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2265,10 +2113,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2303,10 +2148,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2341,10 +2183,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2379,10 +2218,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2417,10 +2253,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2455,10 +2288,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2493,10 +2323,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2531,10 +2358,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2569,10 +2393,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2607,10 +2428,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2645,10 +2463,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2683,10 +2498,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2721,10 +2533,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2759,10 +2568,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2797,10 +2603,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2835,10 +2638,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2875,10 +2675,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2913,10 +2710,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -2955,10 +2749,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n in_pcap_file = 'pipeline/mov_004/pcap_files/in_1.txt'\n@@ -2998,10 +2789,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n in_pcap_file = 'pipeline/mov_005/pcap_files/in_1.txt'\n@@ -3041,10 +2829,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n in_pcap_file = 'pipeline/mov_007/pcap_files/in_1.txt'\n@@ -3084,10 +2869,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n in_pcap_file = 'pipeline/mov_008/pcap_files/in_1.txt'\n@@ -3123,10 +2905,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3163,10 +2942,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3209,10 +2985,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3248,10 +3021,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3286,10 +3056,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3324,10 +3091,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3362,10 +3126,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3400,10 +3161,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3438,10 +3196,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3476,10 +3231,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3514,10 +3266,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3552,10 +3301,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3590,10 +3336,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3628,10 +3371,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3666,10 +3406,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3704,10 +3441,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3742,10 +3476,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3780,10 +3511,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3818,10 +3546,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3856,10 +3581,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3894,10 +3616,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3932,10 +3651,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -3970,10 +3686,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4008,10 +3721,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4046,10 +3756,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4084,10 +3791,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4122,10 +3826,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4160,10 +3861,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4198,10 +3896,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4236,10 +3931,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4274,10 +3966,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4312,10 +4001,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4350,10 +4036,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4388,10 +4071,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4426,10 +4106,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4464,10 +4141,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4502,10 +4176,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4540,10 +4211,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4578,10 +4246,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4616,10 +4281,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4654,10 +4316,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4692,10 +4351,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4730,10 +4386,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4768,10 +4421,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4806,10 +4456,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4844,10 +4491,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4882,10 +4526,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4920,10 +4561,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4958,10 +4596,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -4996,10 +4631,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5034,10 +4666,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5072,10 +4701,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5110,10 +4736,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5148,10 +4771,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5186,10 +4806,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5224,10 +4841,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5262,10 +4876,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5300,10 +4911,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5338,10 +4946,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5376,10 +4981,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5414,10 +5016,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5452,10 +5051,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5490,10 +5086,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5528,10 +5121,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5566,10 +5156,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5604,10 +5191,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5642,10 +5226,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5680,10 +5261,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5718,10 +5296,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5756,10 +5331,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5794,10 +5366,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n # rule 0 test\n@@ -5832,10 +5401,7 @@ class TestPipeline(TestCase):\n cmd = \"sed -i -e 's/0000:00:07.0/%s/' {}\".format(cli_file) % self.dut_p3_pci\n self.dut.send_expect(cmd, \"# \", 20)\n \n- DUT_PORTS = \" -w {0} -w {1} -w {2} -w {3} \"\\\n- .format(self.dut_p0_pci, self.dut_p1_pci, self.dut_p2_pci, self.dut_p3_pci)\n-\n- cmd = \"{0} -c 0x3 -n 4 {1} -- -s {2}\".format(self.app_pipeline_path, DUT_PORTS, cli_file)\n+ cmd = \"{0} {1} -- -s {2}\".format(self.app_pipeline_path, self.eal_para, cli_file)\n self.dut.send_expect(cmd, \"PIPELINE0 enable\", 60)\n \n sleep(2)\n", "prefixes": [] }{ "id": 85269, "url": "