Start_Pcc_Mock
[Documentation] Execute pcc-mock on Mininet, fail is Open is not sent, keep it running for next tests.
- ${command}= Set_Variable java -jar ${filename} --local-address ${MININET} --remote-address ${CONTROLLER} 2>&1 | tee pccmock.log
+ ${command}= NexusKeywords.Compose_Full_Java_Command -jar ${filename} --local-address ${MININET} --remote-address ${CONTROLLER} 2>&1 | tee pccmock.log
Log ${command}
Write ${command}
Read_Until started, sent proposal Open
[Documentation] Create SSH session to Mininet machine, prepare HTTP client session to Controller.
... Figure out latest pcc-mock version and download it from Nexus to Mininet.
... Also, delete and create directories for json diff handling.
- SSHLibrary.Open_Connection ${MININET} prompt=${MININET_PROMPT} timeout=${OUTPUT_TIMEOUT}
- Utils.Flexible_Mininet_Login
+ NexusKeywords.Initialize_Artifact_Deployment_And_Usage
# FIXME: Unify Module prefix usage across whole file.
Create_Session ses http://${CONTROLLER}:${RESTCONFPORT}/restconf/operational/network-topology:network-topology auth=${AUTH}
- ${name}= NexusKeywords.Deploy_Test_Tool bgpcep/pcep-pcc-mock
+ ${name}= NexusKeywords.Deploy_Test_Tool bgpcep pcep-pcc-mock
BuiltIn.Set_Suite_Variable ${filename} ${name}
Remove_Directory ${ExpDir}
Remove_Directory ${ActDir}
${normexp}= Hsf_Json ${expected}
Log ${normexp}
Create_File ${ExpDir}${/}${name} ${normexp}
- ${resp}= RequestsLibrary.Get ses topology/pcep-topology
+ ${resp}= RequestsLibrary.Get Request ses topology/pcep-topology
Log ${resp}
Log ${resp.text}
${normresp}= Hsf_Json ${resp.text}