diff options
-rwxr-xr-x | docs/userguide/yardstick.rst | 5 | ||||
-rw-r--r-- | tools/pkt_gen/trafficgen/trafficgenhelper.py | 2 | ||||
-rwxr-xr-x | vsperf | 2 | ||||
-rw-r--r-- | yardstick/tests/p2p_rfc2544_throughput_sample.yaml | 2 | ||||
-rw-r--r-- | yardstick/tests/rfc2544_back2back_dummy.yaml | 2 | ||||
-rw-r--r-- | yardstick/tests/rfc2544_continuous_dummy.yaml | 2 | ||||
-rw-r--r-- | 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, @@ -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 |