diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2018-04-11 09:07:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-11 09:07:03 +0000 |
commit | 7e263087c47e471fff47f204e79d7fe21a56eaa9 (patch) | |
tree | e8f950b9aad97aa38bb728d06adb454ae7cf03e1 /conf/03_traffic.conf | |
parent | a3e365e8b39e4e907870a8224a760591c7371130 (diff) | |
parent | e9ff0fdf355d26d0c171c6c1137c4beb12561233 (diff) |
Merge "trex: Add support for burst traffic type"
Diffstat (limited to 'conf/03_traffic.conf')
-rw-r--r-- | conf/03_traffic.conf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/conf/03_traffic.conf b/conf/03_traffic.conf index 756902f5..f043b4ca 100644 --- a/conf/03_traffic.conf +++ b/conf/03_traffic.conf @@ -23,8 +23,8 @@ LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log' # Detailed description of TRAFFIC dictionary items follows: # # 'traffic_type' - One of the supported traffic types. -# E.g. rfc2544_throughput, rfc2544_back2back -# or rfc2544_continuous +# E.g. rfc2544_throughput, rfc2544_back2back, +# rfc2544_continuous or burst # Data type: str # Default value: "rfc2544_throughput". # 'bidir' - Specifies if generated traffic will be full-duplex (True) @@ -36,6 +36,12 @@ LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log' # continuous stream tests. # Data type: int # Default value: 100. +# 'burst_size' - Defines a number of frames in the single burst, which is sent +# by burst traffic type. Burst size is applied for each direction, +# i.e. the total number of tx frames will be 2*burst_size in case of +# bidirectional traffic. +# Data type: int +# Default value: 100. # 'multistream' - Defines number of flows simulated by traffic generator. # Value 0 disables multistream feature # Data type: int @@ -202,6 +208,7 @@ LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log' TRAFFIC = { 'traffic_type' : 'rfc2544_throughput', 'frame_rate' : 100, + 'burst_size' : 100, 'bidir' : 'True', # will be passed as string in title format to tgen 'multistream' : 0, 'stream_type' : 'L4', |