-... In the second workflow, updater.py utility is used for issuing
-... rapid restconf requests. It can use multiple worker threads,
-... as http requests are blocking.
-... Due to CPython interpreter itself being single threaded,
-... amounts of threads above 8-16 are actually slightly slower
-... (which may roughly correspond to network traffic
-... being more limiting factor than CPU).
-... This suite starts updater utility bound to single CPU,
-... as this setup was the most performant in other tests.
+... In the second workflow, updater.py utility is used for issuing
+... rapid restconf requests. It can use multiple worker threads,
+... as http requests are blocking.
+... Due to CPython interpreter itself being single threaded,
+... amounts of threads above 8-16 are actually slightly slower
+... (which may roughly correspond to network traffic
+... being more limiting factor than CPU).
+... This suite starts updater utility bound to single CPU,
+... as this setup was the most performant in other tests.
-... Variables and test case names refer to Controller(ODL_SYSTEM) and Mininet
-... (TOOLS_SYSTEM), those are assumed to be separate remote VMs, one to host ODL,
-... other to host tools.
-... In case updater and pcc-mock are desired to run
-... from separate machines, their parameters use Mininet(TOOLS_SYSTEM)
-... values as default.
-... If both updater VM and pcc-mock VM parameters are specified,
-... Mininet(TOOLS_SYSTEM) parameters may be skipped.
-... Variable ${USE_TOOLS_SYSTEM} decides the pcc-mock running machine.
+... Variables and test case names refer to Controller(ODL_SYSTEM) and Mininet
+... (TOOLS_SYSTEM), those are assumed to be separate remote VMs, one to host ODL,
+... other to host tools.
+... In case updater and pcc-mock are desired to run
+... from separate machines, their parameters use Mininet(TOOLS_SYSTEM)
+... values as default.
+... If both updater VM and pcc-mock VM parameters are specified,
+... Mininet(TOOLS_SYSTEM) parameters may be skipped.
+... Variable ${USE_TOOLS_SYSTEM} decides the pcc-mock running machine.
-... FIRST_PCC_IP: Set in case bind address is different from public pcc-mock VM address.
-... LOG_NAME: Filename (without path) to save pcc-mock output into.
-... LOG_PATH: Override if not the same as pccmock VM workspace.
-... LSPS: Number of LSPs per PCC to simulate and test.
-... MOCK_FILE: Filename to use for mock-pcc executable instead of the timestamped one.
-... ODL_SYSTEM_IP: Numeric IP address of VM where ODL runs.
-... ODL_SYSTEM_USER: Username for ssh login to ODL VM.
-... ODL_SYSTEM_PASSWORD: Ssh password, empty means public keys are used instead.
-... ODL_SYSTEM_PROMPT: Substring to identify Linux prompt on ODL VM.
-... ODL_SYSTEM_WORKSPACE: Path to where files can be written on ODL VM.
-... PCCDOWNLOAD_HOSTHEADER: Download server may check checks this header before showing content.
-... PCCDOWNLOAD_URLBASE: URL to pcep-pcc-mock folder in Nexus (use numberic IP if DNS has problems).
-... PCCMOCK_COLOCATED: If True, set PCCMOCKVM* to mirror ODL_SYSTEM*
-... PCCMOCKVM_IP: Override TOOLS_SYSTEM for pcc-mock usage.
-... PCCMOCKVM_*: Override corresponding TOOLS_SYSTEM_* for pcc-mock usage.
-... PCCS: Number of PCCs to simulate and test.
-... PCEP_READY_VERIFY_TIMEOUT: Grace period for pcep-topology to appear. Lower if ODL is ready.
-... RESTCONF_*: USER, PASSWORD and SCOPE to authenticate with, REUSE session.
-... (Note: If SCOPE is not empty, token-based authentication is used.)
-... TOOLS_SYSTEM_IP: Numeric IP address of VM to run pcc-mock and updater from by default.
-... TOOLS_SYSTEM_PASSWORD: Linux password to go with the username (empty means keys).
-... TOOLS_SYSTEM_PROMPT: Substring to identify Linux prompt on TOOLS_SYSTEM VM.
-... TOOLS_SYSTEM_USER: Linux username to SSH to on TOOLS_SYSTEM VM.
-... TOOLS_SYSTEM_WORKSPACE: Path to where files may be created on TOOLS_SYSTEM VM.
-... UPDATER_COLOCATED: If True, overrides UPDATERVM_* parameters to point at ODL_SYSTEM
-... (The purpose is to provide an option without ability to unpack ODL_SYSTEM value.)
-... UPDATER_ODLADDRESS: Override if public ODL_SYSTEM address is not best fit.
-... UPDATER_REFRESH: Main updater thread may sleep this long. Balance precision with overhead.
-... UPDATER_TIMEOUT: If updater stops itself if running more than this time.
-... (Set this limit according to your performance target.)
-... UPDATERVM_ENABLE_TCP_RW_REUSE: Set to false if changing Linux configuration is not desired.
-... UPDATERVM_IP: Override TOOLS_SYSTEM for updater.py usage.
-... UPDATERVM_*: Override corresponding TOOLS_SYSTEM_* for updater.py usage.
-Suite Setup Initial Setup
-Suite Teardown Disconnect
-Test Setup FailFast.Fail_This_Fast_On_Previous_Error
-Test Teardown FailFast.Start_Failing_Fast_If_This_Failed
-Library SSHLibrary timeout=10s
-Library RequestsLibrary
-Library ${CURDIR}/../../../libraries/AuthStandalone.py
-Resource ${CURDIR}/../../../variables/Variables.robot
-Resource ${CURDIR}/../../../libraries/BGPcliKeywords.robot
-Resource ${CURDIR}/../../../libraries/FailFast.robot
-Resource ${CURDIR}/../../../libraries/NexusKeywords.robot # for Deploy_Artifact
-Resource ${CURDIR}/../../../libraries/SSHKeywords.robot # for Require_* and Assure_*, Flexible_SSH_Login
+... FIRST_PCC_IP: Set in case bind address is different from public pcc-mock VM address.
+... LOG_NAME: Filename (without path) to save pcc-mock output into.
+... LOG_PATH: Override if not the same as pccmock VM workspace.
+... LSPS: Number of LSPs per PCC to simulate and test.
+... MOCK_FILE: Filename to use for mock-pcc executable instead of the timestamped one.
+... ODL_SYSTEM_IP: Numeric IP address of VM where ODL runs.
+... ODL_SYSTEM_USER: Username for ssh login to ODL VM.
+... ODL_SYSTEM_PASSWORD: Ssh password, empty means public keys are used instead.
+... ODL_SYSTEM_PROMPT: Substring to identify Linux prompt on ODL VM.
+... ODL_SYSTEM_WORKSPACE: Path to where files can be written on ODL VM.
+... PCCDOWNLOAD_HOSTHEADER: Download server may check checks this header before showing content.
+... PCCDOWNLOAD_URLBASE: URL to pcep-pcc-mock folder in Nexus (use numberic IP if DNS has problems).
+... PCCMOCK_COLOCATED: If True, set PCCMOCKVM* to mirror ODL_SYSTEM*
+... PCCMOCKVM_IP: Override TOOLS_SYSTEM for pcc-mock usage.
+... PCCMOCKVM_*: Override corresponding TOOLS_SYSTEM_* for pcc-mock usage.
+... PCCS: Number of PCCs to simulate and test.
+... PCEP_READY_VERIFY_TIMEOUT: Grace period for pcep-topology to appear. Lower if ODL is ready.
+... RESTCONF_*: USER, PASSWORD and SCOPE to authenticate with, REUSE session.
+... (Note: If SCOPE is not empty, token-based authentication is used.)
+... TOOLS_SYSTEM_IP: Numeric IP address of VM to run pcc-mock and updater from by default.
+... TOOLS_SYSTEM_PASSWORD: Linux password to go with the username (empty means keys).
+... TOOLS_SYSTEM_PROMPT: Substring to identify Linux prompt on TOOLS_SYSTEM VM.
+... TOOLS_SYSTEM_USER: Linux username to SSH to on TOOLS_SYSTEM VM.
+... TOOLS_SYSTEM_WORKSPACE: Path to where files may be created on TOOLS_SYSTEM VM.
+... UPDATER_COLOCATED: If True, overrides UPDATERVM_* parameters to point at ODL_SYSTEM
+... (The purpose is to provide an option without ability to unpack ODL_SYSTEM value.)
+... UPDATER_ODLADDRESS: Override if public ODL_SYSTEM address is not best fit.
+... UPDATER_REFRESH: Main updater thread may sleep this long. Balance precision with overhead.
+... UPDATER_TIMEOUT: If updater stops itself if running more than this time.
+... (Set this limit according to your performance target.)
+... UPDATERVM_ENABLE_TCP_RW_REUSE: Set to false if changing Linux configuration is not desired.
+... UPDATERVM_IP: Override TOOLS_SYSTEM for updater.py usage.
+... UPDATERVM_*: Override corresponding TOOLS_SYSTEM_* for updater.py usage.
+
+Library SSHLibrary timeout=10s
+Library RequestsLibrary
+Library ${CURDIR}/../../../libraries/AuthStandalone.py
+Resource ${CURDIR}/../../../variables/Variables.robot
+Resource ${CURDIR}/../../../libraries/BGPcliKeywords.robot
+Resource ${CURDIR}/../../../libraries/FailFast.robot
+Resource ${CURDIR}/../../../libraries/NexusKeywords.robot # for Deploy_Artifact
+Resource ${CURDIR}/../../../libraries/SSHKeywords.robot # for Require_* and Assure_*, Flexible_SSH_Login
+
+Suite Setup Initial Setup
+Suite Teardown Disconnect
+Test Setup FailFast.Fail_This_Fast_On_Previous_Error
+Test Teardown FailFast.Start_Failing_Fast_If_This_Failed
+
-${MAX_PCC_DEVICE_COUNT} ${100}
-${ODL_SYSTEM_WORKSPACE} /tmp
-${PARALLEL_ITERATION} 10
-${PCC_DEVICE_INCREMENT} ${50}
-${PCCDOWNLOAD_HOSTHEADER} nexus.opendaylight.org
-${PCCDOWNLOAD_URLBASE} http://${PCCDOWNLOAD_HOSTHEADER}/content/repositories/opendaylight.snapshot/org/opendaylight/bgpcep/pcep-pcc-mock/
-${PCCMOCK_COLOCATED} False
-${PCCMOCKVM_IP} ${TOOLS_SYSTEM_IP}
-${PCCMOCKVM_PASSWORD} ${TOOLS_SYSTEM_PASSWORD}
-${PCCMOCKVM_PROMPT} ${TOOLS_SYSTEM_PROMPT}
-${PCCMOCKVM_USER} ${TOOLS_SYSTEM_USER}
-${PCCMOCKVM_WORKSPACE} ${TOOLS_SYSTEM_WORKSPACE}
-${PCCS} 1
-${PCEP_READY_VERIFY_TIMEOUT} 300s
+${MAX_PCC_DEVICE_COUNT} ${100}
+${ODL_SYSTEM_WORKSPACE} /tmp
+${PARALLEL_ITERATION} 10
+${PCC_DEVICE_INCREMENT} ${50}
+${PCCDOWNLOAD_HOSTHEADER} nexus.opendaylight.org
+${PCCDOWNLOAD_URLBASE}
+... http://${PCCDOWNLOAD_HOSTHEADER}/content/repositories/opendaylight.snapshot/org/opendaylight/bgpcep/pcep-pcc-mock/
+${PCCMOCK_COLOCATED} False
+${PCCMOCKVM_IP} ${TOOLS_SYSTEM_IP}
+${PCCMOCKVM_PASSWORD} ${TOOLS_SYSTEM_PASSWORD}
+${PCCMOCKVM_PROMPT} ${TOOLS_SYSTEM_PROMPT}
+${PCCMOCKVM_USER} ${TOOLS_SYSTEM_USER}
+${PCCMOCKVM_WORKSPACE} ${TOOLS_SYSTEM_WORKSPACE}
+${PCCS} 1
+${PCEP_READY_VERIFY_TIMEOUT} 300s