diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-11-10 15:29:45 +0000 |
---|---|---|
committer | Martin Klozik <martinx.klozik@intel.com> | 2016-11-30 15:46:40 +0000 |
commit | 32a2593e6b7735bcbd0e6e28cd57e93fb7dccb34 (patch) | |
tree | 125212e88155d55e83b56233901d7607ff0cb09f /vsperf | |
parent | efdc282f4b08e96f3e09d43f94ba0508e4f26090 (diff) |
yardstick: CLI params support for yardstick TCs
Vswitchperf specific class in yardstick was updated to reflect
new functionality of --test-params. These changes have impact
on vsperf documentation and yardstick samples.
As part of this fix following changes were made:
* trafficgen mode can be executed with default configuration
* yardstick specific TC samples were updated
* dummy traffic generator was enhanced to support back2back
* dummy traffic generator was enhanced to accept traffic
results from configuration
JIRA: VSPERF-422
JIRA: VSPERF-205
Change-Id: Ibeaa6ef46bde453e3ca5dee6e4568fc8c3853521
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: <sridhar.rao@spirent.com>
Diffstat (limited to 'vsperf')
-rwxr-xr-x | vsperf | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -504,8 +504,11 @@ def main(): # than both a settings file and environment variables settings.load_from_dict(args) + settings.setValue('mode', args['mode']) + # set dpdk and ovs paths accorfing to VNF and VSWITCH - functions.settings_update_paths() + if settings.getValue('mode') != 'trafficgen': + functions.settings_update_paths() # if required, handle list-* operations handle_list_options(args) @@ -584,8 +587,6 @@ def main(): # for backward compatibility settings.setValue('WHITELIST_NICS', list(nic['pci'] for nic in nic_list)) - settings.setValue('mode', args['mode']) - # generate results directory name date = datetime.datetime.fromtimestamp(time.time()) results_dir = "results_" + date.strftime('%Y-%m-%d_%H-%M-%S') |