Resource ../../../libraries/ClusterManagement.robot
Resource ../../../libraries/SetupUtils.robot
Resource ../../../variables/Variables.robot
+Resource ../../../variables/netvirt/Variables.robot
*** Variables ***
${SECURITY_GROUP} cl2_sg
Create Bridge Manually and Verify Before Fail
[Documentation] Create bridge with OVS command and verify it gets applied from all instances.
- ClusterOvsdb.Create Sample Bridge Manually And Verify ${OS_CONTROL_NODE_IP}
+ ClusterOvsdb.Create Sample Bridge Manually And Verify ${OS_CNTL_IP}
Add Tap Device Manually and Verify Before Fail
[Documentation] Add tap devices to the bridge with OVS command and verify it gets applied from all instances.
- ClusterOvsdb.Add Sample Tap Device To The Manual Bridge And Verify ${OS_CONTROL_NODE_IP}
+ ClusterOvsdb.Add Sample Tap Device To The Manual Bridge And Verify ${OS_CNTL_IP}
Delete the Bridge Manually and Verify Before Fail
[Documentation] Delete bridge with OVS command and verify it gets deleted from all instances.
- ClusterOvsdb.Delete Sample Bridge Manually And Verify ${OS_CONTROL_NODE_IP}
+ ClusterOvsdb.Delete Sample Bridge Manually And Verify ${OS_CNTL_IP}
Take Down ODL1
[Documentation] Kill the karaf in First Controller
Create Bridge Manually and Verify After Fail
[Documentation] Create bridge with OVS command and verify it gets applied from all instances.
- ClusterOvsdb.Create Sample Bridge Manually And Verify ${OS_CONTROL_NODE_IP} ${new_cluster_list}
+ ClusterOvsdb.Create Sample Bridge Manually And Verify ${OS_CNTL_IP} ${new_cluster_list}
Add Tap Device Manually and Verify After Fail
[Documentation] Add tap devices to the bridge with OVS command and verify it gets applied from all instances.
- ClusterOvsdb.Add Sample Tap Device To The Manual Bridge And Verify ${OS_CONTROL_NODE_IP} ${new_cluster_list}
+ ClusterOvsdb.Add Sample Tap Device To The Manual Bridge And Verify ${OS_CNTL_IP} ${new_cluster_list}
Delete the Bridge Manually and Verify After Fail
[Documentation] Delete bridge with OVS command and verify it gets deleted from all instances.
- ClusterOvsdb.Delete Sample Bridge Manually And Verify ${OS_CONTROL_NODE_IP} ${new_cluster_list}
+ ClusterOvsdb.Delete Sample Bridge Manually And Verify ${OS_CNTL_IP} ${new_cluster_list}
Bring Up ODL1
[Documentation] Bring up ODL1 again
- ClusterManagement.Start Single Member 1
+ ClusterManagement.Start Single Member member=1 check_system_status=True service_list=@{NETVIRT_DIAG_SERVICES}
Create Bridge Manually and Verify After Recover
[Documentation] Create bridge with OVS command and verify it gets applied from all instances.
- ClusterOvsdb.Create Sample Bridge Manually And Verify ${OS_CONTROL_NODE_IP}
+ ClusterOvsdb.Create Sample Bridge Manually And Verify ${OS_CNTL_IP}
Add Tap Device Manually and Verify After Recover
[Documentation] Add tap devices to the bridge with OVS command and verify it gets applied from all instances.
- ClusterOvsdb.Add Sample Tap Device To The Manual Bridge And Verify ${OS_CONTROL_NODE_IP}
+ ClusterOvsdb.Add Sample Tap Device To The Manual Bridge And Verify ${OS_CNTL_IP}
Delete the Bridge Manually and Verify After Recover
[Documentation] Delete bridge with OVS command and verify it gets deleted from all instances.
- ClusterOvsdb.Delete Sample Bridge Manually And Verify ${OS_CONTROL_NODE_IP}
+ ClusterOvsdb.Delete Sample Bridge Manually And Verify ${OS_CNTL_IP}
Take Down ODL2
[Documentation] Kill the karaf in Second Controller
Bring Up ODL2
[Documentation] Bring up ODL2 again
- ClusterManagement.Start Single Member 2
+ ClusterManagement.Start Single Member member=2 check_system_status=True service_list=@{NETVIRT_DIAG_SERVICES}
Ping Vm Instance1 In net_1
[Documentation] Check reachability of vm instances by pinging to them.
Bring Up ODL3
[Documentation] Bring up ODL3 again
- ClusterManagement.Start Single Member 3
+ ClusterManagement.Start Single Member member=3 check_system_status=True service_list=@{NETVIRT_DIAG_SERVICES}
Take Down ODL1 and ODL2
[Documentation] Kill the karaf in First and Second Controller
Bring Up ODL1 and ODL2
[Documentation] Bring up ODL1 and ODL2 again.
- ClusterManagement.Start Members From List Or All ${CLUSTER_DOWN_LIST}
+ ClusterManagement.Start Members From List Or All member_index_list=${CLUSTER_DOWN_LIST} check_system_status=True service_list=@{NETVIRT_DIAG_SERVICES}
Delete Vm Instance
[Documentation] Delete Vm instances using instance names. Also remove the VM from the