From 718e9a52e17181d3823b75358d09fcc97734ba4d Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Wed, 14 Dec 2016 14:40:35 +0000 Subject: conf: traffic type naming step2 Update of the rest of old traffic type names. JIRA: VSPERF-420 Change-Id: Icf4bab7afad09f9b48ee25b9ff020c83cf2e02bd Signed-off-by: Martin Klozik Reviewed-by: Al Morton Reviewed-by: Christian Trautman Reviewed-by: Bill Michalowski Reviewed-by: Antonio Fischetti Reviewed-by: --- docs/userguide/yardstick.rst | 5 +++-- tools/pkt_gen/trafficgen/trafficgenhelper.py | 2 +- vsperf | 2 +- yardstick/tests/p2p_rfc2544_throughput_sample.yaml | 2 +- yardstick/tests/rfc2544_back2back_dummy.yaml | 2 +- yardstick/tests/rfc2544_continuous_dummy.yaml | 2 +- yardstick/tests/rfc2544_throughput_dummy.yaml | 2 +- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/userguide/yardstick.rst b/docs/userguide/yardstick.rst index f118373b..985a25ad 100755 --- a/docs/userguide/yardstick.rst +++ b/docs/userguide/yardstick.rst @@ -146,7 +146,7 @@ Example of yaml file: type: Vsperf options: testname: 'p2p_rfc2544_throughput' - traffic_type: 'rfc2544' + traffic_type: 'rfc2544_throughput' frame_size '64' bidirectional: 'True' iload: 100 @@ -183,7 +183,8 @@ are identical to the vswitchperf parameters passed through ``--test-params`` argument. Following options are supported: - **traffic_type** - specifies the type of traffic executed by traffic generator; - valid values are "rfc2544", "continuous" and "back2back"; Default: 'rfc2544' + Valid values are ``rfc2544_throughput``, ``rfc2544_continuous`` and ``rfc2544_back2back``. + Default: ``rfc2544_throughput`` - **frame_size** - a packet size for which test should be executed; Multiple packet sizes can be tested by modification of Sequence runner section inside YAML definition. Default: '64' diff --git a/tools/pkt_gen/trafficgen/trafficgenhelper.py b/tools/pkt_gen/trafficgen/trafficgenhelper.py index 90c77b09..47f8b262 100644 --- a/tools/pkt_gen/trafficgen/trafficgenhelper.py +++ b/tools/pkt_gen/trafficgen/trafficgenhelper.py @@ -21,7 +21,7 @@ from collections import namedtuple CMD_PREFIX = 'gencmd : ' TRAFFIC_DEFAULTS = { - 'traffic_type' : 'rfc2544', + 'traffic_type' : 'rfc2544_throughput', 'frame_rate' : 100, 'bidir' : 'False', # will be passed as string in title format to tgen 'multistream' : 0, diff --git a/vsperf b/vsperf index 385f7929..44e45425 100755 --- a/vsperf +++ b/vsperf @@ -506,7 +506,7 @@ def main(): settings.setValue('mode', args['mode']) - # set dpdk and ovs paths accorfing to VNF and VSWITCH + # set dpdk and ovs paths according to VNF and VSWITCH if settings.getValue('mode') != 'trafficgen': functions.settings_update_paths() diff --git a/yardstick/tests/p2p_rfc2544_throughput_sample.yaml b/yardstick/tests/p2p_rfc2544_throughput_sample.yaml index b633732b..91aa5d00 100644 --- a/yardstick/tests/p2p_rfc2544_throughput_sample.yaml +++ b/yardstick/tests/p2p_rfc2544_throughput_sample.yaml @@ -28,7 +28,7 @@ scenarios: type: Vsperf options: testname: 'p2p_rfc2544_throughput' - traffic_type: 'rfc2544' + traffic_type: 'rfc2544_throughput' frame_size: '64' bidirectional: 'True' iload: 100 diff --git a/yardstick/tests/rfc2544_back2back_dummy.yaml b/yardstick/tests/rfc2544_back2back_dummy.yaml index a3265c52..9fe834c5 100644 --- a/yardstick/tests/rfc2544_back2back_dummy.yaml +++ b/yardstick/tests/rfc2544_back2back_dummy.yaml @@ -30,7 +30,7 @@ scenarios: type: Vsperf options: testname: 'rfc2544_back2back' - traffic_type: 'back2back' + traffic_type: 'rfc2544_back2back' frame_size: '64' bidirectional: 'True' iload: 100 diff --git a/yardstick/tests/rfc2544_continuous_dummy.yaml b/yardstick/tests/rfc2544_continuous_dummy.yaml index fea0af3f..9d189c80 100644 --- a/yardstick/tests/rfc2544_continuous_dummy.yaml +++ b/yardstick/tests/rfc2544_continuous_dummy.yaml @@ -30,7 +30,7 @@ scenarios: type: Vsperf options: testname: 'rfc2544_continuous' - traffic_type: 'continuous' + traffic_type: 'rfc2544_continuous' frame_size: '64' bidirectional: 'True' iload: 100 diff --git a/yardstick/tests/rfc2544_throughput_dummy.yaml b/yardstick/tests/rfc2544_throughput_dummy.yaml index 81755c50..9ebf28c4 100644 --- a/yardstick/tests/rfc2544_throughput_dummy.yaml +++ b/yardstick/tests/rfc2544_throughput_dummy.yaml @@ -30,7 +30,7 @@ scenarios: type: Vsperf options: testname: 'rfc2544_throughput' - traffic_type: 'rfc2544' + traffic_type: 'rfc2544_throughput' frame_size: '64' bidirectional: 'True' iload: 100 -- cgit 1.2.3-korg