*** Settings ***
-Documentation Unimgr keywords defination that will be used in Unimgr suite.
-Library OperatingSystem
-Library SSHLibrary
-Library String
-Resource ../../../libraries/OVSDB.robot
-Resource ../../../libraries/Utils.robot
-Variables ../../../variables/Variables.py
+Documentation Unimgr keywords defination that will be used in Unimgr suite.
+Library OperatingSystem
+Library SSHLibrary
+Library String
+Resource ./OVSDB.robot
+Resource ./Utils.robot
+Variables ../variables/Variables.py
*** Variables ***
${Bridge_Name} ovsbr0
*** Keywords ***
Setup Unimgr Test Environment
[Documentation] Establish the Opendayligh session and prepair the Mininet VMs
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
- Prepair Unimgr Test Environment ${TOOLS_SYSTEM_IP}
- Prepair Unimgr Test Environment ${TOOLS_SYSTEM_2_IP}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
+ Prepair Unimgr Test Environment ${TOOLS_SYSTEM_IP}
+ Prepair Unimgr Test Environment ${TOOLS_SYSTEM_2_IP}
Prepair Unimgr Test Environment
[Arguments] ${Mininet_IP}
Run Command On Remote System ${Mininet_IP} sudo ovs-vsctl del-br ${Bridge_Name}
Run Command On Remote System ${Mininet_IP} sudo ovs-vsctl set-manager ptcp:${OVSDBPORT}
${stdout}= Run Command On Remote System ${Mininet_IP} sudo ovs-vsctl show
- Should Contain ${stdout} "ptcp:${OVSDBPORT}"
+ Should Contain ${stdout} "ptcp:${OVSDBPORT}"
Get Add Uni Json
[Arguments] ${IP-Address} ${MAC-Address}
${Json} OperatingSystem.Get File ${UniMgr_Variables_DIR}/add_evc.json
${temp} Replace String ${Json} {uni1-ip} ${UNI1-IP}
${evcJson} Replace String ${temp} {uni2-ip} ${UNI2-IP}
- [Return] ${evcJson}
\ No newline at end of file
+ [Return] ${evcJson}