diff options
Diffstat (limited to 'conf/03_traffic.conf')
-rw-r--r-- | conf/03_traffic.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/03_traffic.conf b/conf/03_traffic.conf index baded627..db704d02 100644 --- a/conf/03_traffic.conf +++ b/conf/03_traffic.conf @@ -88,6 +88,10 @@ LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log' # Default value: 64 # 'l3' - A dictionary with l3 network layer details. Supported # values are: +# 'enabled' - Specifies if l3 layer should be enabled or disabled. +# Data type: bool +# Default value: True +# NOTE: Supported only by IxNet trafficgen class # 'srcip' - Specifies source MAC address filled by traffic generator. # NOTE: It can be modified by vsperf in some scenarios. # Data type: str @@ -103,6 +107,10 @@ LOG_FILE_TRAFFIC_GEN = 'traffic-gen.log' # Default value: "udp". # 'l4' - A dictionary with l4 network layer details. Supported # values are: +# 'enabled' - Specifies if l4 layer should be enabled or disabled. +# Data type: bool +# Default value: True +# NOTE: Supported only by IxNet trafficgen class # 'srcport' - Specifies source port of selected transport protocol. # NOTE: It can be modified by vsperf in some scenarios. # Data type: int @@ -142,11 +150,13 @@ TRAFFIC = { 'dstmac': '00:00:00:00:00:00', }, 'l3': { + 'enabled': True, 'proto': 'udp', 'srcip': '1.1.1.1', 'dstip': '90.90.90.90', }, 'l4': { + 'enabled': True, 'srcport': 3000, 'dstport': 3001, }, |