This applies to scalability and cbench test.
Change-Id: I53067dc93de1ab27b854b542a85fe03c4a476460
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
*** Keywords ***
Find Max Switches
*** Keywords ***
Find Max Switches
- [Arguments] ${start} ${stop} ${step} ${sustain_time}=5
+ [Arguments] ${start} ${stop} ${step} ${sustain_time}=0
[Documentation] Will find out max switches starting from ${start} till reaching ${stop} and in steps defined by ${step}.
... The network is hold for ${sustain_time} seconds after everything is checked successful.
${max-switches} Set Variable ${0}
[Documentation] Will find out max switches starting from ${start} till reaching ${stop} and in steps defined by ${step}.
... The network is hold for ${sustain_time} seconds after everything is checked successful.
${max-switches} Set Variable ${0}
${loops} 10
${num_of_unique_macs} 100
${start_delay} 5000
${loops} 10
${num_of_unique_macs} 100
${start_delay} 5000
${cbench_system} ${TOOLS_SYSTEM_IP}
${cbench_executable} /usr/local/bin/cbench
${throughput_results_file} throughput.csv
${cbench_system} ${TOOLS_SYSTEM_IP}
${cbench_executable} /usr/local/bin/cbench
${throughput_results_file} throughput.csv
Log Cbench tests using ${loops} iterations of ${duration_in_secs} second tests. Switch Count: ${switch_count}. Unique MACS to cycle: ${num_of_unique_macs}
Run Cbench And Log Results -m ${duration_in_ms} -M ${num_of_unique_macs} -s ${switch_count} -l ${loops} -D ${start_delay} ${latency_threshold} ${latency_results_file}
# We have to give some time for the controller to recover. See bug 6176.
Log Cbench tests using ${loops} iterations of ${duration_in_secs} second tests. Switch Count: ${switch_count}. Unique MACS to cycle: ${num_of_unique_macs}
Run Cbench And Log Results -m ${duration_in_ms} -M ${num_of_unique_macs} -s ${switch_count} -l ${loops} -D ${start_delay} ${latency_threshold} ${latency_results_file}
# We have to give some time for the controller to recover. See bug 6176.
Cbench Throughput Test
[Documentation] cbench executed in throughput mode (-t). Test parameters have defaults, but can be overridden
Cbench Throughput Test
[Documentation] cbench executed in throughput mode (-t). Test parameters have defaults, but can be overridden
Log Cbench tests using ${loops} iterations of ${duration_in_secs} second tests. Switch Count: ${switch_count}. Unique MACS to cycle: ${num_of_unique_macs}
Run Cbench And Log Results -t -m ${duration_in_ms} -M ${num_of_unique_macs} -s ${switch_count} -l ${loops} -D ${start_delay} ${throughput_threshold} ${throughput_results_file}
# We have to give some time for the controller to recover. See bug 6176.
Log Cbench tests using ${loops} iterations of ${duration_in_secs} second tests. Switch Count: ${switch_count}. Unique MACS to cycle: ${num_of_unique_macs}
Run Cbench And Log Results -t -m ${duration_in_ms} -M ${num_of_unique_macs} -s ${switch_count} -l ${loops} -D ${start_delay} ${throughput_threshold} ${throughput_results_file}
# We have to give some time for the controller to recover. See bug 6176.
Rerun Latency Test To Check Bug 6176
[Documentation] cbench executed in latency mode to see if controller is healthy
Rerun Latency Test To Check Bug 6176
[Documentation] cbench executed in latency mode to see if controller is healthy
Log Cbench tests using ${loops} iterations of ${duration_in_secs} second tests. Switch Count: ${switch_count}. Unique MACS to cycle: ${num_of_unique_macs}
Run Cbench And Log Results -m ${duration_in_ms} -M ${num_of_unique_macs} -s ${switch_count} -l ${loops} -D ${start_delay} ${latency_threshold} bug.csv
# We have to give some time for the controller to recover. See bug 6176.
Log Cbench tests using ${loops} iterations of ${duration_in_secs} second tests. Switch Count: ${switch_count}. Unique MACS to cycle: ${num_of_unique_macs}
Run Cbench And Log Results -m ${duration_in_ms} -M ${num_of_unique_macs} -s ${switch_count} -l ${loops} -D ${start_delay} ${latency_threshold} bug.csv
# We have to give some time for the controller to recover. See bug 6176.
*** Keywords ***
Run Cbench And Log Results
*** Keywords ***
Run Cbench And Log Results