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 --- tools/pkt_gen/trafficgen/trafficgen.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'tools/pkt_gen/trafficgen') diff --git a/tools/pkt_gen/trafficgen/trafficgen.py b/tools/pkt_gen/trafficgen/trafficgen.py index 13af6b81..37f6c095 100755 --- a/tools/pkt_gen/trafficgen/trafficgen.py +++ b/tools/pkt_gen/trafficgen/trafficgen.py @@ -101,8 +101,7 @@ class ITrafficGenerator(object): """ raise NotImplementedError('Please call an implementation.') - def send_cont_traffic(self, traffic=None, time=20, framerate=0, - multistream=False): + def send_cont_traffic(self, traffic=None, time=20, framerate=0): """Send a continuous flow of traffic. Send packets at ``framerate``, using ``traffic`` configuration, @@ -127,8 +126,7 @@ class ITrafficGenerator(object): """ raise NotImplementedError('Please call an implementation.') - def start_cont_traffic(self, traffic=None, time=20, framerate=0, - multistream=False): + def start_cont_traffic(self, traffic=None, time=20, framerate=0): """Non-blocking version of 'send_cont_traffic'. Start transmission and immediately return. Do not wait for @@ -142,7 +140,7 @@ class ITrafficGenerator(object): raise NotImplementedError('Please call an implementation.') def send_rfc2544_throughput(self, traffic=None, trials=3, duration=20, - lossrate=0.0, multistream=False): + lossrate=0.0): """Send traffic per RFC2544 throughput test specifications. Send packets at a variable rate, using ``traffic`` @@ -170,7 +168,7 @@ class ITrafficGenerator(object): raise NotImplementedError('Please call an implementation.') def start_rfc2544_throughput(self, traffic=None, trials=3, duration=20, - lossrate=0.0, multistream=False): + lossrate=0.0): """Non-blocking version of 'send_rfc2544_throughput'. Start transmission and immediately return. Do not wait for @@ -184,7 +182,7 @@ class ITrafficGenerator(object): raise NotImplementedError('Please call an implementation.') def send_rfc2544_back2back(self, traffic=None, trials=1, duration=20, - lossrate=0.0, multistream=False): + lossrate=0.0): """Send traffic per RFC2544 back2back test specifications. Send packets at a fixed rate, using ``traffic`` @@ -207,7 +205,7 @@ class ITrafficGenerator(object): raise NotImplementedError('Please call an implementation.') def start_rfc2544_back2back(self, traffic=None, trials=1, duration=20, - lossrate=0.0, multistream=False): + lossrate=0.0): """Non-blocking version of 'send_rfc2544_back2back'. Start transmission and immediately return. Do not wait for -- cgit 1.2.3-korg