settings.getValue("TRAFFICGEN_STC_WEST_INTF_ADDR"),
"--west_intf_gateway_addr",
settings.getValue("TRAFFICGEN_STC_WEST_INTF_GATEWAY_ADDR"),
- "--num_trials",
- settings.getValue("TRAFFICGEN_STC_NUMBER_OF_TRIALS"),
"--trial_duration_sec",
settings.getValue("TRAFFICGEN_STC_TRIAL_DURATION_SEC"),
"--traffic_pattern",
return args
-def get_rfc2544_custom_settings(framesize, custom_tr):
+def get_rfc2544_custom_settings(framesize, custom_tr, tests):
"""
Return RFC2544 Custom Settings
"""
args = ["--frame_size_list",
str(framesize),
"--traffic_custom",
- str(custom_tr)]
+ str(custom_tr),
+ "--num_trials",
+ str(tests)]
return args
stc_common_args = get_stc_common_settings()
rfc2544_common_args = get_rfc2544_common_settings()
rfc2544_custom_args = get_rfc2544_custom_settings(framesize,
- custom)
+ custom, 1)
args = stc_common_args + rfc2544_common_args + rfc2544_custom_args
if settings.getValue("TRAFFICGEN_STC_VERBOSE") is "True":
stc_common_args = get_stc_common_settings()
rfc2544_common_args = get_rfc2544_common_settings()
- rfc2544_custom_args = get_rfc2544_custom_settings(framesize, '')
+ rfc2544_custom_args = get_rfc2544_custom_settings(framesize, '',
+ tests)
args = stc_common_args + rfc2544_common_args + rfc2544_custom_args
if settings.getValue("TRAFFICGEN_STC_VERBOSE") is "True":
stc_common_args = get_stc_common_settings()
rfc2544_common_args = get_rfc2544_common_settings()
- rfc2544_custom_args = get_rfc2544_custom_settings(framesize, '')
+ rfc2544_custom_args = get_rfc2544_custom_settings(framesize, '',
+ tests)
args = stc_common_args + rfc2544_common_args + rfc2544_custom_args
if settings.getValue("TRAFFICGEN_STC_VERBOSE") is "True":