OpenIxia / IxNetwork

A central location for IxNetwork sample scripts and utilities. Please also visit http://openixia.com
MIT License
50 stars 59 forks source link

fixed addTimestampToFile that was returning new filenames without the original filename #134

Open beubanks opened 2 years ago

beubanks commented 2 years ago

Made change to RestPy/SampleScripts/loadQuickTest.py function addTimestampToFile: restoring newFilename to the full newFileWithTimestamp in the addTimestampToFile function. It was removed in commit 6a82f5e576815d6f9e10d38b0d25aa4d8d753777

beubanks commented 2 years ago

Hi @hubogee, is there anything else I should provide for this PR? I have tested the change and it now includes the original file name in the new file name. For example, here the first three files are from a run with the original loadQuickTest.py and the last four are from a run with the modified: ` [beubanks@beubanks-cs9-1 ixia-env]$ ls | grep 151323

rfc2544throughput_1trial_imix_151323.csv rfc2544throughput_1trial_imix_151323.pdf rfc2544throughput_1trial_imix_151323.txt [beubanks@beubanks-cs9-1 ixia-env]$ ls | grep 131623 rfc2544throughput_1trial_imix_AggregateResults_131623.csv rfc2544throughput_1trial_imix_iteration_131623.csv rfc2544throughput_1trial_imix_logFile_131623.txt rfc2544throughput_1trial_imix_report_131623.pdf rfc2544throughput_1trial_imix_results_131623.csv `