*** Test Cases ***
Make the OVS instance to listen for connection
- Utils.Run Command On Remote System ${TOOLS_SYSTEM_IP} sudo ovs-vsctl del-manager
- Utils.Run Command On Remote System ${TOOLS_SYSTEM_IP} sudo ovs-vsctl set-manager ptcp:${OVSDB_NODE_PORT}
+ Utils.Run Command On Mininet ${TOOLS_SYSTEM_IP} sudo ovs-vsctl del-manager
+ Utils.Run Command On Mininet ${TOOLS_SYSTEM_IP} sudo ovs-vsctl set-manager ptcp:${OVSDB_NODE_PORT}
Connect to OVSDB Node
[Documentation] Initiate the connection to OVSDB node from controller
Get Config Topology with Bridge
[Documentation] This will fetch the configuration topology from configuration data store to verify the bridge is added to the data store
${resp} = RequestsLibrary.Get Request session ${CONFIG_TOPO_API}
- OVSDB.Log Request ${resp.content}
+ OVSDB.Log Request ${resp.text}
BuiltIn.Should Be Equal As Strings ${resp.status_code} 200
- BuiltIn.Should Contain ${resp.content} ${BRIDGE}
+ BuiltIn.Should Contain ${resp.text} ${BRIDGE}
Get Operational Topology with Bridge
[Documentation] This request will fetch the operational topology from the connected OVSDB nodes to verify the bridge is added to the data store
Verify Config Still Has OVS Info
[Documentation] This will fetch the configuration topology from configuration data store to verify the node is still in the data store
${resp} = RequestsLibrary.Get Request session ${CONFIG_TOPO_API}
- OVSDB.Log Request ${resp.content}
+ OVSDB.Log Request ${resp.text}
BuiltIn.Should Be Equal As Strings ${resp.status_code} 200
BuiltIn.Wait Until Keyword Succeeds 8s 2s Utils.Check For Elements At URI ${OPERATIONAL_TOPO_API}/topology/ovsdb:1 ${NODE_LIST} pretty_print_json=True
Get Config Topology After Reconnect
[Documentation] This will fetch the configuration topology from configuration data store after reconnect
${resp} RequestsLibrary.Get Request session ${CONFIG_TOPO_API}
- OVSDB.Log Request ${resp.content}
+ OVSDB.Log Request ${resp.text}
BuiltIn.Should Be Equal As Strings ${resp.status_code} 200
BuiltIn.Wait Until Keyword Succeeds 8s 2s Utils.Check For Elements At URI ${OPERATIONAL_TOPO_API}/topology/ovsdb:1 ${NODE_LIST} pretty_print_json=True
Get QOS Config Topology with port
[Documentation] This will fetch the configuration topology from configuration data store to verify the QOS is added to the data store
${resp} = RequestsLibrary.Get Request session ${CONFIG_TOPO_API}
- OVSDB.Log Request ${resp.content}
+ OVSDB.Log Request ${resp.text}
BuiltIn.Should Contain ${ALLOWED_STATUS_CODES} ${resp.status_code}
- BuiltIn.Should Contain ${resp.content} ${QOS}
+ BuiltIn.Should Contain ${resp.text} ${QOS}
Get QOS Operational Topology with port
[Documentation] This request will fetch the operational topology from the connected OVSDB nodes to verify the QOS is added to the data store
Get Queue Config Topology with port
[Documentation] This request will fetch the configuration topology from configuration data store to verify the Queue is added to the data store
${resp} = RequestsLibrary.Get Request session ${CONFIG_TOPO_API}
- OVSDB.Log Request ${resp.content}
+ OVSDB.Log Request ${resp.text}
BuiltIn.Should Contain ${ALLOWED_STATUS_CODES} ${resp.status_code}
- BuiltIn.Should Contain ${resp.content} ${QUEUE}
+ BuiltIn.Should Contain ${resp.text} ${QUEUE}
Get Queue Operational Topology with port
[Documentation] This request will fetch the operational topology from the connected OVSDB nodes to verify the Queue is added to the data store
Get Config Topology to verify that deleted configurations are cleaned from config datastore
[Documentation] This request will fetch the configuration topology from configuration data store to verify OVSDB NODE is deleted frrom the configuration data store
${resp} = RequestsLibrary.Get Request session ${CONFIG_TOPO_API}
- OVSDB.Log Request ${resp.content}
+ OVSDB.Log Request ${resp.text}
BuiltIn.Should Contain ${ALLOWED_STATUS_CODES} ${resp.status_code}
- BuiltIn.Should Not Contain ${resp.content} ovsdb:HOST1
+ BuiltIn.Should Not Contain ${resp.text} ovsdb:HOST1
Check For Bug 4756
[Documentation] bug 4756 has been seen in the OVSDB Southbound suites. This test case should be one of the last test