diff options
Diffstat (limited to 'conf/03_traffic.conf')
-rw-r--r-- | conf/03_traffic.conf | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/conf/03_traffic.conf b/conf/03_traffic.conf index 764fd731..179ff3e2 100644 --- a/conf/03_traffic.conf +++ b/conf/03_traffic.conf @@ -178,6 +178,7 @@ TRAFFICGEN = 'Dummy' #TRAFFICGEN = 'Ixia' #TRAFFICGEN = 'Xena' #TRAFFICGEN = 'Moongen' +#TRAFFICGEN = 'Trex' # List of packet sizes to send. # Expand like this: (64, 128, 256, 512, 1024) @@ -415,4 +416,34 @@ TRAFFICGEN_MOONGEN_PORTS = '' TRAFFICGEN_MOONGEN_LINE_SPEED_GBPS = '' # MoonGen Configuration and Connection Info-- END -################################################### +################################################# + +################################################ +# Trex Configuration and Connection Info-- BEGIN + +# Example: TRAFFICGEN_TREX_HOST_IP_ADDR = "192.10.1.1" +# Example: TRAFFICGEN_TREX_USER = 'root' +# Example: TRAFFICGEN_TREX_BASE_DIR = '/traffic_gen/trex/' +# Example: TRAFFICGEN_TREX_PORT1 = '00:00:00:00:00:00' +TRAFFICGEN_TREX_HOST_IP_ADDR = '' +TRAFFICGEN_TREX_USER = '' +TRAFFICGEN_TREX_BASE_DIR = '' +TRAFFICGEN_TREX_PORT1 = '' +TRAFFICGEN_TREX_PORT2 = '' +# Latency statistics are collected by separate stream created for each interface. +# Parameter below defines frequency of packets used for latency measurement in PPS. +# Value 0 will disable latency specific streams. +TRAFFICGEN_TREX_LATENCY_PPS = 1000 +# Example 10 Gbps: TRAFFICGEN_TREXINE_SPEED_GBPS = '10' +# Today only 10 Gbps is supported +TRAFFICGEN_TREX_LINE_SPEED_GBPS = '10' +PATHS['trafficgen'] = { + 'trex': { + 'type' : 'src', + 'src': { + 'path': os.path.join(ROOT_DIR, 'src/trex/trex/scripts/automation/trex_control_plane/stl') + } + } +} +# TREX Configuration and Connection Info-- END +############################################## |