+ CONTROLLER -> ODL_SYSTEM_IP
+ CONTROLLER1 -> ODL_SYSTEM_2_IP
+ CONTROLLER2 -> ODL_SYSTEM_3_IP
Change-Id: I93689ae884be29fb37173ddc90fea45f40171a34
Signed-off-by: Deepak <deepak.mk17@gmail.com>
86 files changed:
*** Settings ***
Documentation Test suite for Switch Manager
*** Settings ***
Documentation Test suite for Switch Manager
-Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Topology Manager
*** Settings ***
Documentation Test suite for Topology Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Statistics Manager
*** Settings ***
Documentation Test suite for Statistics Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Flow Programmer
*** Settings ***
Documentation Test suite for Flow Programmer
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Resource ../../../libraries/Utils.robot
*** Variables ***
Resource ../../../libraries/Utils.robot
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,2
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,2
*** Settings ***
Documentation Test suite for Switch Manager
*** Settings ***
Documentation Test suite for Switch Manager
-Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Topology Manager
*** Settings ***
Documentation Test suite for Topology Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Statistics Manager
*** Settings ***
Documentation Test suite for Statistics Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Flow Programmer
*** Settings ***
Documentation Test suite for Flow Programmer
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Resource ../../../libraries/Utils.robot
*** Variables ***
Resource ../../../libraries/Utils.robot
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,2 --switch ovsk,protocols=OpenFlow13
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,2 --switch ovsk,protocols=OpenFlow13
... a larger number of failed connections will be used and a small margin of error will
... determine if the test is a PASS or FAIL
Log Environment Details
... a larger number of failed connections will be used and a small margin of error will
... determine if the test is a PASS or FAIL
Log Environment Details
- ${controller_pid}= Get Process ID Based On Regex On Remote System ${CONTROLLER} java.*distribution.*karaf ${CONTROLLER_USER}
+ ${controller_pid}= Get Process ID Based On Regex On Remote System ${ODL_SYSTEM_IP} java.*distribution.*karaf ${CONTROLLER_USER}
Should Match Regexp ${controller_pid} [0-9]+ PID was not discovered
Should Match Regexp ${controller_pid} [0-9]+ PID was not discovered
- ${starting_thread_count}= Get Process Thread Count On Remote System ${CONTROLLER} ${controller_pid} ${CONTROLLER_USER}
- Repeat Keyword ${number_ofconnections_to_fail} Start Process nc -w 1 ${CONTROLLER}
+ ${starting_thread_count}= Get Process Thread Count On Remote System ${ODL_SYSTEM_IP} ${controller_pid} ${CONTROLLER_USER}
+ Repeat Keyword ${number_ofconnections_to_fail} Start Process nc -w 1 ${ODL_SYSTEM_IP}
... ${openflow_port}
Run pkill -f 'nc -w'
Log Environment Details
... ${openflow_port}
Run pkill -f 'nc -w'
Log Environment Details
- ${ending_thread_count}= Get Process Thread Count On Remote System ${CONTROLLER} ${controller_pid} ${CONTROLLER_USER}
+ ${ending_thread_count}= Get Process Thread Count On Remote System ${ODL_SYSTEM_IP} ${controller_pid} ${CONTROLLER_USER}
Log Environment Details
Log starting count: ${starting_thread_count}\nending count: ${ending_thread_count}
${acceptable_thread_count}= Evaluate ${starting_thread_count} + (${number_of_connections_to_fail} * ${margin_of_error})
Log Environment Details
Log starting count: ${starting_thread_count}\nending count: ${ending_thread_count}
${acceptable_thread_count}= Evaluate ${starting_thread_count} + (${number_of_connections_to_fail} * ${margin_of_error})
Log Environment Details
[Documentation] Will display relevant details of the test environement to help aid debugging efforts if
... needed in the future.
Log Environment Details
[Documentation] Will display relevant details of the test environement to help aid debugging efforts if
... needed in the future.
- ${output}= Get Process ID Based On Regex On Remote System ${CONTROLLER} java.*distribution.*karaf ${CONTROLLER_USER}
+ ${output}= Get Process ID Based On Regex On Remote System ${ODL_SYSTEM_IP} java.*distribution.*karaf ${CONTROLLER_USER}
- ${output}= Run Command On Remote System ${CONTROLLER} netstat -na | grep 6633 ${CONTROLLER_USER}
+ ${output}= Run Command On Remote System ${ODL_SYSTEM_IP} netstat -na | grep 6633 ${CONTROLLER_USER}
Initialization Phase
[Documentation] Starts mininet and verify if topology is in operational ds
Start Suite
Initialization Phase
[Documentation] Starts mininet and verify if topology is in operational ds
Start Suite
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Final Phase
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Final Phase
*** Variables ***
${send_update_table_url} /restconf/operations/sal-table:update-table
*** Variables ***
${send_update_table_url} /restconf/operations/sal-table:update-table
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,1 --switch user
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,1 --switch user
*** Test Cases ***
Sending Update Table
*** Test Cases ***
Sending Update Table
Initialization Phase
[Documentation] Starts mininet and verify if topology is in operational ds
Start Suite
Initialization Phase
[Documentation] Starts mininet and verify if topology is in operational ds
Start Suite
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Final Phase
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Final Phase
Initialization Phase
[Documentation] Starts mininet and verify if topology is in operational ds
Start Suite
Initialization Phase
[Documentation] Starts mininet and verify if topology is in operational ds
Start Suite
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Final Phase
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Final Phase
*** Keywords ***
Initialization Phase
[Documentation] Initiate tcp connection with controller
*** Keywords ***
Initialization Phase
[Documentation] Initiate tcp connection with controller
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>
*** Keywords ***
Initialization Phase
[Documentation] Initiate tcp connection with controller
*** Keywords ***
Initialization Phase
[Documentation] Initiate tcp connection with controller
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>
Write dpctl dump-flows -O OpenFlow13
Read Until mininet>
Resource ../../../../libraries/Utils.robot
*** Variables ***
Resource ../../../../libraries/Utils.robot
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,1 --switch ovsk,protocols=OpenFlow13
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,1 --switch ovsk,protocols=OpenFlow13
*** Settings ***
Documentation Test suite for pushing/verify/remove a flow through RESTCONF
*** Settings ***
Documentation Test suite for pushing/verify/remove a flow through RESTCONF
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for pushing/verify/remove a flow through RESTCONF
*** Settings ***
Documentation Test suite for pushing/verify/remove a flow through RESTCONF
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for pushing/verify/remove a flow through RESTCONF
*** Settings ***
Documentation Test suite for pushing/verify/remove a flow through RESTCONF
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IP,Ethernet and port
*** Settings ***
Documentation Test suite for IP,Ethernet and port
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
... - Decrement MPLS TTL
...
... NOTE: for OVS, it appears that set_ttl, and both copy in/out are not supported, so need to skip those checks for now.
... - Decrement MPLS TTL
...
... NOTE: for OVS, it appears that set_ttl, and both copy in/out are not supported, so need to skip those checks for now.
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Test Template Create And Remove Flow
Library SSHLibrary
Suite Teardown Delete All Sessions
Test Template Create And Remove Flow
Library SSHLibrary
*** Settings ***
Documentation Test suite for IP,Ethernet,DSCP and Action dec TTL
*** Settings ***
Documentation Test suite for IP,Ethernet,DSCP and Action dec TTL
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, TCP dst/src port and Action dec MPLS TTL
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, TCP dst/src port and Action dec MPLS TTL
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, TCP dst/src port and Action dec MPLS TTL
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, TCP dst/src port and Action dec MPLS TTL
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, SCTP dst/src port and Action dec TTL
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, SCTP dst/src port and Action dec TTL
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, SCTP dst/src port and Action dec TTL
*** Settings ***
Documentation Test suite for IP,Ethernet,QoS, SCTP dst/src port and Action dec TTL
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for Time our values and Vlan and PCP Vlan
*** Settings ***
Documentation Test suite for Time our values and Vlan and PCP Vlan
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
*** Settings ***
Documentation Test suite for Ethernet,QoS, ARP and Action drop
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IPv6
*** Settings ***
Documentation Test suite for IPv6
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for metadata
*** Settings ***
Documentation Test suite for metadata
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for metadata and mask
*** Settings ***
Documentation Test suite for metadata and mask
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for metadata and mask
*** Settings ***
Documentation Test suite for metadata and mask
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for metadata and mask
*** Settings ***
Documentation Test suite for metadata and mask
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IPv6 flow labelk
*** Settings ***
Documentation Test suite for IPv6 flow labelk
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for Tunnel ID
*** Settings ***
Documentation Test suite for Tunnel ID
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for IPv6 Flow label and ICMP type
*** Settings ***
Documentation Test suite for IPv6 Flow label and ICMP type
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Initialization Phase
[Documentation] Initiate tcp connection with controller
Initialization Phase
[Documentation] Initiate tcp connection with controller
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Teardown Phase
[Documentation] Closes tcp connection with controller and removes flows
Teardown Phase
[Documentation] Closes tcp connection with controller and removes flows
*** Settings ***
Documentation Test suite for OpenFlow group
*** Settings ***
Documentation Test suite for OpenFlow group
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
*** Settings ***
Documentation Test suite for OpenFlow meter
*** Settings ***
Documentation Test suite for OpenFlow meter
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Suite Teardown Delete All Sessions
Library SSHLibrary
Library Collections
Variables ../../../variables/Variables.py
*** Variables ***
Variables ../../../variables/Variables.py
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,1 --switch user
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,1 --switch user
*** Settings ***
Documentation Test suite for RESTCONF inventory
*** Settings ***
Documentation Test suite for RESTCONF inventory
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF topology
*** Settings ***
Documentation Test suite for RESTCONF topology
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library XML
Suite Teardown Delete All Sessions
Library Collections
Library XML
*** Settings ***
Documentation Test suite for Switch Manager
*** Settings ***
Documentation Test suite for Switch Manager
-Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Statistics Manager
*** Settings ***
Documentation Test suite for Statistics Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Topology Manager
*** Settings ***
Documentation Test suite for Topology Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Variables ../../../variables/Variables.py
*** Variables ***
Variables ../../../variables/Variables.py
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,${TOPO_TREE_DEPTH},${TOPO_TREE_FANOUT}
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,${TOPO_TREE_DEPTH},${TOPO_TREE_FANOUT}
*** Keywords ***
Start Suite
*** Keywords ***
Start Suite
*** Settings ***
Documentation Test suite for RESTCONF inventory
*** Settings ***
Documentation Test suite for RESTCONF inventory
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF topology
*** Settings ***
Documentation Test suite for RESTCONF topology
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library XML
Suite Teardown Delete All Sessions
Library Collections
Library XML
*** Settings ***
Documentation Test suite for Switch Manager
*** Settings ***
Documentation Test suite for Switch Manager
-Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session ${ODL_CONTROLLER_SESSION} http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Statistics Manager
*** Settings ***
Documentation Test suite for Statistics Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for Topology Manager
*** Settings ***
Documentation Test suite for Topology Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Variables ../../../variables/Variables.py
*** Variables ***
Variables ../../../variables/Variables.py
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,${TOPO_TREE_DEPTH},${TOPO_TREE_FANOUT} --switch ovsk,protocols=OpenFlow13
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,${TOPO_TREE_DEPTH},${TOPO_TREE_FANOUT} --switch ovsk,protocols=OpenFlow13
*** Keywords ***
Start Suite
*** Keywords ***
Start Suite
... indicate if the requested duration of the longevity test has elapsed. The caller does not have to use
... that return value.
Should Be Equal ${comparator1} ${comparator2} ${comparator_failure_message}
... indicate if the requested duration of the longevity test has elapsed. The caller does not have to use
... that return value.
Should Be Equal ${comparator1} ${comparator2} ${comparator_failure_message}
- Verify Controller Is Not Dead ${CONTROLLER}
- Verify Controller Has No Null Pointer Exceptions ${CONTROLLER}
+ Verify Controller Is Not Dead ${ODL_SYSTEM_IP}
+ Verify Controller Has No Null Pointer Exceptions ${ODL_SYSTEM_IP}
${is_expired}= Check If Test Duration Is Expired
[Return] ${is_expired}
${is_expired}= Check If Test Duration Is Expired
[Return] ${is_expired}
Longevity Suite Setup
[Documentation] In addtion to opening the REST session to the controller, the ${end_time} that this
... test should not exceed is calculated and made in to a suite wide variable.
Longevity Suite Setup
[Documentation] In addtion to opening the REST session to the controller, the ${end_time} that this
... test should not exceed is calculated and made in to a suite wide variable.
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
${start_time}= Get Current Date
${end_time}= Add Time To Date ${start_time} ${TEST_LENGTH}
${end_time}= Convert Date ${end_time} epoch
${start_time}= Get Current Date
${end_time}= Add Time To Date ${start_time} ${TEST_LENGTH}
${end_time}= Convert Date ${end_time} epoch
... indicate if the requested duration of the longevity test has elapsed. The caller does not have to use
... that return value.
Should Be Equal ${comparator1} ${comparator2} ${comparator_failure_message}
... indicate if the requested duration of the longevity test has elapsed. The caller does not have to use
... that return value.
Should Be Equal ${comparator1} ${comparator2} ${comparator_failure_message}
- Verify Controller Is Not Dead ${CONTROLLER}
+ Verify Controller Is Not Dead ${ODL_SYSTEM_IP}
${is_expired}= Check If Test Duration Is Expired
[Return] ${is_expired}
${is_expired}= Check If Test Duration Is Expired
[Return] ${is_expired}
Longevity Suite Setup
[Documentation] In addtion to opening the REST session to the controller, the ${end_time} that this
... test should not exceed is calculated and made in to a suite wide variable.
Longevity Suite Setup
[Documentation] In addtion to opening the REST session to the controller, the ${end_time} that this
... test should not exceed is calculated and made in to a suite wide variable.
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
${mininet_conn_id}= Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT}
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Log Copying ${CREATE_FULLYMESH_TOPOLOGY_FILE_PATH} file to Mininet VM
${mininet_conn_id}= Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT}
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Log Copying ${CREATE_FULLYMESH_TOPOLOGY_FILE_PATH} file to Mininet VM
*** Settings ***
Documentation Test suite for RESTCONF inventory
*** Settings ***
Documentation Test suite for RESTCONF inventory
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF Topology
*** Settings ***
Documentation Test suite for RESTCONF Topology
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF statistics
*** Settings ***
Documentation Test suite for RESTCONF statistics
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF FRM
*** Settings ***
Documentation Test suite for RESTCONF FRM
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Resource ../../../libraries/Utils.robot
*** Variables ***
Resource ../../../libraries/Utils.robot
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,2
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,2
*** Settings ***
Documentation Test suite for RESTCONF inventory
*** Settings ***
Documentation Test suite for RESTCONF inventory
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF Topology
*** Settings ***
Documentation Test suite for RESTCONF Topology
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF statistics
*** Settings ***
Documentation Test suite for RESTCONF statistics
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
*** Settings ***
Documentation Test suite for RESTCONF FRM
*** Settings ***
Documentation Test suite for RESTCONF FRM
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
Resource ../../../libraries/Utils.robot
*** Variables ***
Resource ../../../libraries/Utils.robot
*** Variables ***
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,2 --switch ovsk,protocols=OpenFlow13
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,2 --switch ovsk,protocols=OpenFlow13
*** Keywords ***
Link Scale Suite Setup
[Documentation] Do initial steps for link scale tests
*** Keywords ***
Link Scale Suite Setup
[Documentation] Do initial steps for link scale tests
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
${mininet_conn_id}= Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT}
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Log Copying ${CREATE_FULLYMESH_TOPOLOGY_FILE_PATH} file to Mininet VM
${mininet_conn_id}= Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT}
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Log Copying ${CREATE_FULLYMESH_TOPOLOGY_FILE_PATH} file to Mininet VM
*** Settings ***
Documentation Test suite for finding out max number of switches
*** Settings ***
Documentation Test suite for finding out max number of switches
-Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Suite Teardown Scalability Suite Teardown
Library OperatingSystem
Library RequestsLibrary
Suite Teardown Scalability Suite Teardown
Library OperatingSystem
Library RequestsLibrary
Execute Command sudo mn -c
Write ${start}
Read Until mininet>
Execute Command sudo mn -c
Write ${start}
Read Until mininet>
- Write start ${CONTROLLER} ${init_sw}
+ Write start ${ODL_SYSTEM_IP} ${init_sw}
Read Until mininet>
Wait Until Keyword Succeeds 10s 1s Verify Switches Connected ${init_sw}
Read Until mininet>
Wait Until Keyword Succeeds 10s 1s Verify Switches Connected ${init_sw}
Verify Switches Connected
[Arguments] ${exp_switches}
[Documentation] Verifies if switches are connected/present in operational inventory
Verify Switches Connected
[Arguments] ${exp_switches}
[Documentation] Verifies if switches are connected/present in operational inventory
- ${sw} ${rep} ${found}= Flow Stats Collected controller=${CONTROLLER}
+ ${sw} ${rep} ${found}= Flow Stats Collected controller=${ODL_SYSTEM_IP}
Should Be Equal As Numbers ${sw} ${exp_switches}
Log Store Max Found
Should Be Equal As Numbers ${sw} ${exp_switches}
Log Store Max Found
##down can catch this problem and log the results as zero. However, we need to know which
##file to log to, so setting it as a suite variable here.
Set Suite Variable ${output_filename}
##down can catch this problem and log the results as zero. However, we need to know which
##file to log to, so setting it as a suite variable here.
Set Suite Variable ${output_filename}
- ${output}= Run Command On Remote System ${cbench_system} ${cbench_executable} -c ${CONTROLLER} ${cbench_args} prompt_timeout=${test_timeout}
+ ${output}= Run Command On Remote System ${cbench_system} ${cbench_executable} -c ${ODL_SYSTEM_IP} ${cbench_args} prompt_timeout=${test_timeout}
Log ${output}
Should Contain ${output} RESULT
${result_line}= Get Lines Containing String ${output} RESULT
Log ${output}
Should Contain ${output} RESULT
${result_line}= Get Lines Containing String ${output} RESULT
${switches} 25
${flows} 2000
${threads} 5
${switches} 25
${flows} 2000
${threads} 5
-${start} sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${switches},1 --switch ovsk,protocols=OpenFlow13
+${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${switches},1 --switch ovsk,protocols=OpenFlow13
${PERFSCRIPT} ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_add_delete_test.py
${PARSESCRIPT} ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/create_plot_data_files.py
${PERFSCRIPT} ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_add_delete_test.py
${PARSESCRIPT} ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/create_plot_data_files.py
[Teardown] Stop Http Session
Configure And Deconfigure Flows
[Teardown] Stop Http Session
Configure And Deconfigure Flows
- ${result}= Run Process ${PERFSCRIPT} --host ${CONTROLLER} --flows ${flows}
+ ${result}= Run Process ${PERFSCRIPT} --host ${ODL_SYSTEM_IP} --flows ${flows}
... --threads ${threads} --auth shell=yes
Log ${result.stdout}
Create File out.log.txt content=${result.stdout}
... --threads ${threads} --auth shell=yes
Log ${result.stdout}
Create File out.log.txt content=${result.stdout}
Start Http Session
[Documentation] Starts http session
Start Http Session
[Documentation] Starts http session
- Log http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
- Create Session tcsession http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Log http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session tcsession http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Stop Http Session
[Documentation] Stops http session
Stop Http Session
[Documentation] Stops http session
${tabspread} gauss
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
${tabspread} gauss
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
+@{cntls} ${ODL_SYSTEM_IP}
*** Test Cases ***
Configure Flows
*** Test Cases ***
Configure Flows
Set Suite Variable ${flows}
Check Configured Are Operational
Set Suite Variable ${flows}
Check Configured Are Operational
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP}
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Check No Flows In Operational
${noflows}= Create List
Check No Flows In Operational
${noflows}= Create List
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${ODL_SYSTEM_IP}
*** Keywords ***
Connect Switches
*** Keywords ***
Connect Switches
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
- Write sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+ Write sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
${tabspread} linear
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
${tabspread} linear
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
+@{cntls} ${ODL_SYSTEM_IP}
*** Test Cases ***
Configure Flows
*** Test Cases ***
Configure Flows
Set Suite Variable ${flows}
Check Configured Are Operational
Set Suite Variable ${flows}
Check Configured Are Operational
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP}
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Check No Flows In Operational
${noflows}= Create List
Check No Flows In Operational
${noflows}= Create List
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${ODL_SYSTEM_IP}
*** Keywords ***
Connect Switches
*** Keywords ***
Connect Switches
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
- Write sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+ Write sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
${tabspread} first
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
${tabspread} first
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
+@{cntls} ${ODL_SYSTEM_IP}
*** Test Cases ***
Configure Flows
*** Test Cases ***
Configure Flows
Set Suite Variable ${flows}
Check Configured Are Operational
Set Suite Variable ${flows}
Check Configured Are Operational
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP}
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Check No Flows In Operational
${noflows}= Create List
Check No Flows In Operational
${noflows}= Create List
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${ODL_SYSTEM_IP}
*** Keywords ***
Connect Switches
*** Keywords ***
Connect Switches
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
- Write sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+ Write sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
${tabspread} first
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
${tabspread} first
${topourl} /restconf/operational/network-topology:network-topology/topology/flow:1
${invurl} /restconf/operational/opendaylight-inventory:nodes
+@{cntls} ${ODL_SYSTEM_IP}
*** Test Cases ***
Configure Flows
*** Test Cases ***
Configure Flows
Set Suite Variable ${flows}
Check Configured Are Operational
Set Suite Variable ${flows}
Check Configured Are Operational
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP}
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Deconfigure Flows
${res}= Deconfigure Flows flow_details=${flows} controllers=@{cntls} nrthreads=5
Check No Flows In Operational
${noflows}= Create List
Check No Flows In Operational
${noflows}= Create List
- Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 20s Check Flows Inventory ${noflows} ${ODL_SYSTEM_IP}
*** Keywords ***
Connect Switches
*** Keywords ***
Connect Switches
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
Write sudo ovs-vsctl set-manager ptcp:6644
Write sudo mn -c
Read Until ${DEFAULT_LINUX_PROMPT}
- Write sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+ Write sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Stop Switches
${flnr} 16000
${swspread} linear
${tabspread} linear
${flnr} 16000
${swspread} linear
${tabspread} linear
-@{cntls} ${CONTROLLER}
-${start_cmd} sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+@{cntls} ${ODL_SYSTEM_IP}
+${start_cmd} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
*** Test Cases ***
Connect Mininet
*** Test Cases ***
Connect Mininet
Are Flows Operational
[Documentation] Operational datastore check if all flows are present there
Are Flows Operational
[Documentation] Operational datastore check if all flows are present there
- Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${flows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP}
Deconfigure Flows
[Documentation] Removal of 16k flows from config datastore
Deconfigure Flows
[Documentation] Removal of 16k flows from config datastore
Check No Flows In Operational
[Documentation] Operational datastore to be without any flows
${noflows}= Create List
Check No Flows In Operational
[Documentation] Operational datastore to be without any flows
${noflows}= Create List
- Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${noflows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${noflows} ${ODL_SYSTEM_IP}
Configure Flows Again
[Documentation] Configuration of 16k flows into config datastore again
Configure Flows Again
[Documentation] Configuration of 16k flows into config datastore again
Are Flows Operational Again
[Documentation] Operational datastore check if all flows are present there
Are Flows Operational Again
[Documentation] Operational datastore check if all flows are present there
- Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${flows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP}
Stop Mininet
[Documentation] Disconnect/Stop mininet
Stop Mininet
[Documentation] Disconnect/Stop mininet
Check Flows Are Operational Again
[Documentation] All 16k switches should be present in the operational datastore after mininet reconnection
Check Flows Are Operational Again
[Documentation] All 16k switches should be present in the operational datastore after mininet reconnection
- Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${flows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${flows} ${ODL_SYSTEM_IP}
Deconfigure Flows End
[Documentation] Flows deconfiguration
Deconfigure Flows End
[Documentation] Flows deconfiguration
Check No Flows In Operational Last
[Documentation] Operational datastore to be without any flows
${noflows}= Create List
Check No Flows In Operational Last
[Documentation] Operational datastore to be without any flows
${noflows}= Create List
- Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${noflows} ${CONTROLLER}
+ Wait Until Keyword Succeeds 110s 5s Check Flows Inventory ${noflows} ${ODL_SYSTEM_IP}
Stop Mininet End
Stop Switches
Stop Mininet End
Stop Switches
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Stop Switches
[Documentation] Stops mininet
Stop Switches
[Documentation] Stops mininet
${nrthreads} 5
${swspread} linear
${tabspread} first
${nrthreads} 5
${swspread} linear
${tabspread} first
-@{cntls} ${CONTROLLER}
-${start_cmd} sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+@{cntls} ${ODL_SYSTEM_IP}
+${start_cmd} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
${getf_cmd} sh ./get-total-found.sh
${getr_cmd} sh ./get-total-reported.sh
${iperiod} 1s
${getf_cmd} sh ./get-total-found.sh
${getr_cmd} sh ./get-total-reported.sh
${iperiod} 1s
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session And Upload Files
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session And Upload Files
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT} timeout=600
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Put File ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/* ./
Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT} timeout=600
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Put File ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/* ./
Check Flows Inventory
[Arguments] ${rswitches} ${rflows}
[Documentation] Checks in inventory has required state
Check Flows Inventory
[Arguments] ${rswitches} ${rflows}
[Documentation] Checks in inventory has required state
- ${sw} ${repf} ${foundf}= Flow Stats Collected controller=${CONTROLLER}
+ ${sw} ${repf} ${foundf}= Flow Stats Collected controller=${ODL_SYSTEM_IP}
Should Be Equal As Numbers ${rswitches} ${sw}
Should Be Equal As Numbers ${rflows} ${foundf}
Should Be Equal As Numbers ${rswitches} ${sw}
Should Be Equal As Numbers ${rflows} ${foundf}
${nrthreads} 5
${swspread} linear
${tabspread} first
${nrthreads} 5
${swspread} linear
${tabspread} first
-@{cntls} ${CONTROLLER}
-${start_cmd} sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+@{cntls} ${ODL_SYSTEM_IP}
+${start_cmd} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
${getf_cmd} sh ./get-total-found.sh
${getr_cmd} sh ./get-total-reported.sh
${iperiod} 1s
${getf_cmd} sh ./get-total-found.sh
${getr_cmd} sh ./get-total-reported.sh
${iperiod} 1s
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session And Upload Files
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session And Upload Files
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT} timeout=600
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Put File ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/* ./
Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT} timeout=600
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Put File ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/* ./
Check Flows Inventory
[Arguments] ${rswitches} ${rflows}
[Documentation] Checks in inventory has required state
Check Flows Inventory
[Arguments] ${rswitches} ${rflows}
[Documentation] Checks in inventory has required state
- ${sw} ${repf} ${foundf}= Flow Stats Collected controller=${CONTROLLER}
+ ${sw} ${repf} ${foundf}= Flow Stats Collected controller=${ODL_SYSTEM_IP}
Should Be Equal As Numbers ${rswitches} ${sw}
Should Be Equal As Numbers ${rflows} ${foundf}
Should Be Equal As Numbers ${rswitches} ${sw}
Should Be Equal As Numbers ${rflows} ${foundf}
${nrthreads} 5
${swspread} linear
${tabspread} first
${nrthreads} 5
${swspread} linear
${tabspread} first
-@{cntls} ${CONTROLLER}
-${start_cmd} sudo mn --controller=remote,ip=${CONTROLLER} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
+@{cntls} ${ODL_SYSTEM_IP}
+${start_cmd} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo linear,${swnr} --switch ovsk,protocols=OpenFlow13
${getf_cmd} sh ./get-total-found.sh
${getr_cmd} sh ./get-total-reported.sh
${iperiod} 1s
${getf_cmd} sh ./get-total-found.sh
${getr_cmd} sh ./get-total-reported.sh
${iperiod} 1s
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session And Upload Files
Wait Until Keyword Succeeds 10s 1s Are Switches Connected Topo
Create Http Session And Upload Files
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT} timeout=600
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Put File ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/* ./
Open Connection ${MININET} prompt=${DEFAULT_LINUX_PROMPT} timeout=600
Login With Public Key ${MININET_USER} ${USER_HOME}/.ssh/${SSH_KEY} any
Put File ${CURDIR}/../../../../tools/odl-mdsal-clustering-tests/clustering-performance-test/ovs-scripts/* ./
Check Flows Inventory
[Arguments] ${rswitches} ${rflows}
[Documentation] Checks in inventory has required state
Check Flows Inventory
[Arguments] ${rswitches} ${rflows}
[Documentation] Checks in inventory has required state
- ${sw} ${repf} ${foundf}= Flow Stats Collected controller=${CONTROLLER}
+ ${sw} ${repf} ${foundf}= Flow Stats Collected controller=${ODL_SYSTEM_IP}
Should Be Equal As Numbers ${rswitches} ${sw}
Should Be Equal As Numbers ${rflows} ${foundf}
Should Be Equal As Numbers ${rswitches} ${sw}
Should Be Equal As Numbers ${rflows} ${foundf}
Set Suite Variable ${xmlroot}
Create Controllers Sessions
Set Suite Variable ${xmlroot}
Create Controllers Sessions
- Create Session session1 http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
- Create Session session2 http://${CONTROLLER1}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
- Create Session session3 http://${CONTROLLER2}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session1 http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session2 http://${ODL_SYSTEM_2_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session3 http://${ODL_SYSTEM_3_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Get Controller Response
[Arguments] ${session} ${url}
Get Controller Response
[Arguments] ${session} ${url}
Execute Command sudo mn -c
Write ${start}
Read Until mininet>
Execute Command sudo mn -c
Write ${start}
Read Until mininet>
- Write start_with_cluster ${CONTROLLER},${CONTROLLER1},${CONTROLLER2}
+ Write start_with_cluster ${ODL_SYSTEM_IP},${ODL_SYSTEM_2_IP},${ODL_SYSTEM_3_IP}
${SWITCH_CLASS} Ovs
${SWITCH_IP} ${MININET}
${SWITCH_PROMPT} ${DEFAULT_LINUX_PROMPT}
${SWITCH_CLASS} Ovs
${SWITCH_IP} ${MININET}
${SWITCH_PROMPT} ${DEFAULT_LINUX_PROMPT}
${REST_CONTEXT} /restconf/operational/opendaylight-inventory:nodes
*** Test Cases ***
${REST_CONTEXT} /restconf/operational/opendaylight-inventory:nodes
*** Test Cases ***
${test_switch}= Get Switch ${SWITCH_CLASS}
Set Suite Variable ${test_switch}
Call Method ${test_switch} set_mgmt_ip ${SWITCH_IP}
${test_switch}= Get Switch ${SWITCH_CLASS}
Set Suite Variable ${test_switch}
Call Method ${test_switch} set_mgmt_ip ${SWITCH_IP}
- Call Method ${test_switch} set_controller_ip ${CONTROLLER}
+ Call Method ${test_switch} set_controller_ip ${ODL_SYSTEM_IP}
Call Method ${test_switch} set_mgmt_prompt ${SWITCH_PROMPT}
Log MAKE: ${test_switch.make}\n MODEL: ${test_switch.model}\n IP: ${test_switch.mgmt_ip}\n PROMPT: ${test_switch.mgmt_prompt}\n CONTROLLER_IP: ${test_switch.of_controller_ip}\n MGMT_PROTOCOL: ${test_switch.mgmt_protocol}
Ping ${test_switch.mgmt_ip}
Initialize Switch ${test_switch}
Call Method ${test_switch} set_mgmt_prompt ${SWITCH_PROMPT}
Log MAKE: ${test_switch.make}\n MODEL: ${test_switch.model}\n IP: ${test_switch.mgmt_ip}\n PROMPT: ${test_switch.mgmt_prompt}\n CONTROLLER_IP: ${test_switch.of_controller_ip}\n MGMT_PROTOCOL: ${test_switch.mgmt_protocol}
Ping ${test_switch.mgmt_ip}
Initialize Switch ${test_switch}
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Switch Qualification Suite Teardown
Cleanup Switch ${test_switch}
Switch Qualification Suite Teardown
Cleanup Switch ${test_switch}
${SWITCH_CLASS} Ovs
${SWITCH_IP} ${MININET}
${SWITCH_PROMPT} ${DEFAULT_LINUX_PROMPT}
${SWITCH_CLASS} Ovs
${SWITCH_IP} ${MININET}
${SWITCH_PROMPT} ${DEFAULT_LINUX_PROMPT}
${REST_CON} /restconf/config/opendaylight-inventory:nodes
${ipv4_src} 11.3.0.0/16
${ipv4_dst} 99.0.0.0/8
${REST_CON} /restconf/config/opendaylight-inventory:nodes
${ipv4_src} 11.3.0.0/16
${ipv4_dst} 99.0.0.0/8
${test_switch}= Get Switch ${SWITCH_CLASS}
Set Suite Variable ${test_switch}
Call Method ${test_switch} set_mgmt_ip ${SWITCH_IP}
${test_switch}= Get Switch ${SWITCH_CLASS}
Set Suite Variable ${test_switch}
Call Method ${test_switch} set_mgmt_ip ${SWITCH_IP}
- Call Method ${test_switch} set_controller_ip ${CONTROLLER}
+ Call Method ${test_switch} set_controller_ip ${ODL_SYSTEM_IP}
Call Method ${test_switch} set_mgmt_prompt ${SWITCH_PROMPT}
Call Method ${test_switch} set_mgmt_prompt ${SWITCH_PROMPT}
- Run Command On Remote System ${CONTROLLER} ps -elf | grep java
+ Run Command On Remote System ${ODL_SYSTEM_IP} ps -elf | grep java
Log MAKE: ${test_switch.make}\n MODEL: ${test_switch.model}\n IP: ${test_switch.mgmt_ip}\n PROMPT: ${test_switch.mgmt_prompt}\n CONTROLLER_IP: ${test_switch.of_controller_ip}\n MGMT_PROTOCOL: ${test_switch.mgmt_protocol}
Ping ${test_switch.mgmt_ip}
Initialize Switch ${test_switch}
Configure OpenFlow ${test_switch}
Log MAKE: ${test_switch.make}\n MODEL: ${test_switch.model}\n IP: ${test_switch.mgmt_ip}\n PROMPT: ${test_switch.mgmt_prompt}\n CONTROLLER_IP: ${test_switch.of_controller_ip}\n MGMT_PROTOCOL: ${test_switch.mgmt_protocol}
Ping ${test_switch.mgmt_ip}
Initialize Switch ${test_switch}
Configure OpenFlow ${test_switch}
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
OpenFlow Actions Suite Teardown
Cleanup Switch ${test_switch}
OpenFlow Actions Suite Teardown
Cleanup Switch ${test_switch}