From 47206e37b1cd5210b043474158d6dd7edba577d3 Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Thu, 13 Aug 2015 11:09:09 +0100 Subject: Add new testcase for LTD.Scalability.RFC2544.0PacketLoss This test adds a multistream config item, taking the required number of flows to setup in the traffic, to the existing testcase and then running the standard 2544 Throughput test. The config is plumbed through from the 01_testcase.conf via ITraffic to the IxNet. 01_testcase.conf contains new parameter MultiStream for 2544 Throughput test. JIRA: VSPERF-19 Change-Id: I12e0e76a5f54dc13b854f3a65f3a4a0fe90ff885 Signed-off-by: Radek Zetik Signed-off-by: Martin Klozik Reviewed-by: Billy O Mahony Reviewed-by: Eugene Snider Reviewed-by: Gurpreet Singh Reviewed-by: Tv Rao --- testcases/testcase.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testcases') diff --git a/testcases/testcase.py b/testcases/testcase.py index 83e038db..f5b35782 100644 --- a/testcases/testcase.py +++ b/testcases/testcase.py @@ -47,6 +47,7 @@ class TestCase(object): if self._frame_mod: self._frame_mod = self._frame_mod.lower() self._results_dir = results_dir + self._multistream = cfg.get('MultiStream', 0) def run(self): """Run the test @@ -76,7 +77,9 @@ class TestCase(object): with vswitch_ctl: if vnf_ctl: vnf_ctl.start() - traffic = {'traffic_type': self._traffic_type, 'bidir': self._bidir} + traffic = {'traffic_type': self._traffic_type, + 'bidir': self._bidir, + 'multistream': self._multistream} vswitch = vswitch_ctl.get_vswitch() if self._frame_mod == "vlan": flow = {'table':'2', 'priority':'1000', 'metadata':'2', 'actions': ['push_vlan:0x8100','goto_table:3']} -- cgit 1.2.3-korg