Create Networks
[Documentation] Create Network with neutron request.
- : FOR ${network} IN @{NETWORKS}
- \ OpenStackOperations.Create Network ${network}
+ FOR ${network} IN @{NETWORKS}
+ OpenStackOperations.Create Network ${network}
+ END
Create Subnets For net_1
[Documentation] Create Sub Nets for the Networks with neutron request.
Add Interfaces To Router
[Documentation] Add Interfaces
- : FOR ${interface} IN @{SUBNETS}
- \ OpenStackOperations.Add Router Interface @{ROUTERS}[2] ${interface}
+ FOR ${interface} IN @{SUBNETS}
+ OpenStackOperations.Add Router Interface @{ROUTERS}[2] ${interface}
+ END
Verify Created Routers
[Documentation] Check created routers using northbound rest calls
Block Port On ODL1 Again
[Documentation] Block connection on first controller the second time
ClusterManagement.Isolate_Member_From_List_Or_All ${1} protocol=tcp port=${ODL_AKKA_PORT}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Block Port On ODL2 Again
[Documentation] Block connection on second controller the second time
ClusterManagement.Isolate_Member_From_List_Or_All ${2} protocol=tcp port=${ODL_AKKA_PORT}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Connectivity Tests From Vm Instance1 In net_1
[Documentation] ssh to the VM instance and test operations.
${dst_list} = BuiltIn.Create List @{NET_2_L3_VM_IPS} @{NET_1_L3_VM_IPS}
OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET_1_L3_VM_IPS}[0] ${dst_list}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Connectivity Tests From Vm Instance2 In net_1
[Documentation] ssh to the VM instance and test operations.
${dst_list} = BuiltIn.Create List @{NET_2_L3_VM_IPS} @{NET_1_L3_VM_IPS}
OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET_1_L3_VM_IPS}[1] ${dst_list}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Connectivity Tests From Vm Instance3 In net_1
[Documentation] ssh to the VM instance and test operations.
${dst_list} = BuiltIn.Create List @{NET_2_L3_VM_IPS} @{NET_1_L3_VM_IPS}
OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[0] @{NET_1_L3_VM_IPS}[2] ${dst_list}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Allow Port On ODL1 Again
[Documentation] Allow connection on first controller the second time
- ClusterManagement.Rejoin_Member_From_List_Or_All ${1} protocol=tcp port=${ODL_AKKA_PORT}
+ BuiltIn.Run_Keyword_And_Ignore_Error ClusterManagement.Rejoin_Member_From_List_Or_All ${1} protocol=tcp port=${ODL_AKKA_PORT}
Allow Port On ODL2 Again
[Documentation] Allow connection on the second controller the second time
Block Port On ODL2 Finally
[Documentation] Block connection on second controller for the last time
ClusterManagement.Isolate_Member_From_List_Or_All ${2} protocol=tcp port=${ODL_AKKA_PORT}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Block Port On ODL3 Again
[Documentation] Block connection on the third controller for the second time
ClusterManagement.Isolate_Member_From_List_Or_All ${3} protocol=tcp port=${ODL_AKKA_PORT}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Connectivity Tests From Vm Instance1 In net_2
[Documentation] ssh to the VM instance and test operations.
${dst_list} = BuiltIn.Create List @{NET_2_L3_VM_IPS} @{NET_1_L3_VM_IPS}
OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[1] @{NET_2_L3_VM_IPS}[0] ${dst_list}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Connectivity Tests From Vm Instance2 In net_2
[Documentation] ssh to the VM instance and test operations.
${dst_list} = BuiltIn.Create List @{NET_2_L3_VM_IPS} @{NET_1_L3_VM_IPS}
OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[1] @{NET_2_L3_VM_IPS}[1] ${dst_list}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Connectivity Tests From Vm Instance3 In net_2
[Documentation] ssh to the VM instance and test operations.
${dst_list} = BuiltIn.Create List @{NET_2_L3_VM_IPS} @{NET_1_L3_VM_IPS}
OpenStackOperations.Test Operations From Vm Instance @{NETWORKS}[1] @{NET_2_L3_VM_IPS}[2] ${dst_list}
- [Teardown] OpenStackOperations.Get OvsDebugInfo
+ [Teardown] OpenStackOperations.Get Test Teardown Debugs fail=False
Allow Port On ODL2 Finally
[Documentation] Allow connection on second controller for the last time
- ClusterManagement.Rejoin_Member_From_List_Or_All ${2} protocol=tcp port=${ODL_AKKA_PORT}
+ BuiltIn.Run_Keyword_And_Ignore_Error ClusterManagement.Rejoin_Member_From_List_Or_All ${2} protocol=tcp port=${ODL_AKKA_PORT}
Allow Port On ODL3 Again
[Documentation] Allow connection on the third controller for the second time
Delete Vm Instances In net_1
[Documentation] Delete Vm instances using instance names in net_1.
- : FOR ${vm} IN @{NET_1_VMS}
- \ OpenStackOperations.Delete Vm Instance ${vm}
+ FOR ${vm} IN @{NET_1_VMS}
+ OpenStackOperations.Delete Vm Instance ${vm}
+ END
Delete Vm Instances In net_2
[Documentation] Delete Vm instances using instance names in net_2.
- : FOR ${vm} IN @{NET_2_VMS}
- \ OpenStackOperations.Delete Vm Instance ${vm}
+ FOR ${vm} IN @{NET_2_VMS}
+ OpenStackOperations.Delete Vm Instance ${vm}
+ END
Delete Router Interfaces
[Documentation] Remove Interface to the subnets.
- : FOR ${interface} IN @{SUBNETS}
- \ OpenStackOperations.Remove Interface @{ROUTERS}[2] ${interface}
+ FOR ${interface} IN @{SUBNETS}
+ OpenStackOperations.Remove Interface @{ROUTERS}[2] ${interface}
+ END
Delete Routers
[Documentation] Delete Router and Interface to the subnets.
Delete Networks
[Documentation] Delete Networks with neutron request.
- : FOR ${network} IN @{NETWORKS}
- \ OpenStackOperations.Delete Network ${network}
+ FOR ${network} IN @{NETWORKS}
+ OpenStackOperations.Delete Network ${network}
+ END
Delete Security Group
[Documentation] Delete security groups with neutron request