Library XML
Library SSHLibrary
Variables ../../../variables/Variables.py
Library RequestsLibrary
Library ../../../libraries/Common.py
Library ../../../libraries/ScaleClient.py
Library XML
Library SSHLibrary
Variables ../../../variables/Variables.py
Library RequestsLibrary
Library ../../../libraries/Common.py
Library ../../../libraries/ScaleClient.py
${linux_prompt} >
${start_cmd} sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
${iperiod} 1s
${linux_prompt} >
${start_cmd} sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
${iperiod} 1s
${flows} ${notes}= Generate New Flow Details flows=${flnr} switches=${swnr} swspread=${swspread} tabspread=${tabspread}
Log ${notes}
${starttime}= Get Time epoch
${res}= Operations Add Flows Rpc flow_details=${flows} controllers=@{cntls} nrthreads=${nrthreads} fpr=${fpr}
Log ${res}
Set Suite Variable ${flows}
${flows} ${notes}= Generate New Flow Details flows=${flnr} switches=${swnr} swspread=${swspread} tabspread=${tabspread}
Log ${notes}
${starttime}= Get Time epoch
${res}= Operations Add Flows Rpc flow_details=${flows} controllers=@{cntls} nrthreads=${nrthreads} fpr=${fpr}
Log ${res}
Set Suite Variable ${flows}
[Documentation] Flows deconfiguration
${res}= Operations Remove Flows Rpc flow_details=${flows} controllers=@{cntls} nrthreads=${nrthreads} fpr=${fpr}
Log ${res}
[Documentation] Flows deconfiguration
${res}= Operations Remove Flows Rpc flow_details=${flows} controllers=@{cntls} nrthreads=${nrthreads} fpr=${fpr}
Log ${res}
Check No Flows In Operational After Remove
[Documentation] No flows should be found after their removeal
Check No Flows In Operational After Remove
[Documentation] No flows should be found after their removeal
- Append To File ${outfile} FlowsSetupTime\n
- Append To File ${outfile} ${setuptime}\n
+ ${rate}= Evaluate (${flnr}/${setuptime})
+ Append To File ${outfile} FlowsSetupRate,FlowsSetupTime\n
+ Append To File ${outfile} ${rate},${setuptime}\n