Documentation Test suite to check connectivity in L3 using routers.
Suite Setup Devstack Suite Setup Tests source_pwd=yes
Suite Teardown Close All Connections
-Test Setup Log Testcase Start To Controller Karaf
+Test Teardown Run Keywords Show Debugs ${NET_1_VM_INSTANCES}
+... AND Show Debugs ${NET_2_VM_INSTANCES}
+... AND Get OvsDebugInfo
Library SSHLibrary
Library OperatingSystem
Library RequestsLibrary
Create Vm Instances For l3_net_1
[Documentation] Create Four Vm instances using flavor and image names for a network.
- OpenStackOperations.Create Vm Instances l3_net_1 ${NET_1_VM_INSTANCES}
- [Teardown] OpenStackOperations.Show Debugs ${NET_1_VM_INSTANCES}
+ OpenStackOperations.Create Vm Instances l3_net_1 ${NET_1_VM_INSTANCES} sg=csit
Bring Up ODL1
[Documentation] Bring up ODL1 again
Create Vm Instances For l3_net_2
[Documentation] Create Four Vm instances using flavor and image names for a network.
- OpenStackOperations.Create Vm Instances l3_net_2 ${NET_2_VM_INSTANCES}
- [Teardown] Show Debugs ${NET_2_VM_INSTANCES}
+ OpenStackOperations.Create Vm Instances l3_net_2 ${NET_2_VM_INSTANCES} sg=csit
Bring Up ODL2
[Documentation] Bring up ODL2 again
[Documentation] Kill the karaf in Third Controller
ClusterManagement.Kill Single Member 3
-Create Routers
- [Documentation] Create Router and Add Interface to the subnets.
+Create Router router_2
+ [Documentation] Create Router and Add Interface to the subnets. this fails sometimes.
OpenStackOperations.Create Router router_2
+ [Teardown] Report_Failure_Due_To_Bug 6117
+
+Create Router router_3
+ [Documentation] Create Router and Add Interface to the subnets.
OpenStackOperations.Create Router router_3
Add Interfaces To Router
Ping Vm Instance1 In l3_net_2 From l3_net_1
[Documentation] Check reachability of vm instances by pinging to them after creating routers.
+ Get OvsDebugInfo
OpenStackOperations.Ping Vm From DHCP Namespace l3_net_1 @{NET_2_VM_IPS}[0]
Ping Vm Instance2 In l3_net_2 From l3_net_1
[Documentation] Check reachability of vm instances by pinging to them after creating routers.
+ Get OvsDebugInfo
OpenStackOperations.Ping Vm From DHCP Namespace l3_net_1 @{NET_2_VM_IPS}[1]
Ping Vm Instance3 In l3_net_2 From l3_net_1
[Documentation] Check reachability of vm instances by pinging to them after creating routers.
+ Get OvsDebugInfo
OpenStackOperations.Ping Vm From DHCP Namespace l3_net_1 @{NET_2_VM_IPS}[2]
Ping Vm Instance1 In l3_net_1 From l3_net_2
[Documentation] Check reachability of vm instances by pinging to them after creating routers.
+ Get OvsDebugInfo
OpenStackOperations.Ping Vm From DHCP Namespace l3_net_2 @{NET_1_VM_IPS}[0]
Ping Vm Instance2 In l3_net_1 From l3_net_2
[Documentation] Check reachability of vm instances by pinging to them after creating routers.
+ Get OvsDebugInfo
OpenStackOperations.Ping Vm From DHCP Namespace l3_net_2 @{NET_1_VM_IPS}[1]
Ping Vm Instance3 In l3_net_1 From l3_net_2
[Documentation] Check reachability of vm instances by pinging to them after creating routers.
+ Get OvsDebugInfo
OpenStackOperations.Ping Vm From DHCP Namespace l3_net_2 @{NET_1_VM_IPS}[2]
Take Down ODL1 and ODL2
Log ${dst_ip_list}
${other_dst_ip_list}= Create List @{NET_2_VM_IPS}[0] @{DHCP_IPS}[1] @{NET_2_VM_IPS}[2] @{NET_2_VM_IPS}[1]
Log ${other_dst_ip_list}
+ Get OvsDebugInfo
OpenStackOperations.Test Operations From Vm Instance l3_net_1 @{NET_1_VM_IPS}[0] ${dst_ip_list} l2_or_l3=l3 list_of_external_dst_ips=${other_dst_ip_list}
Connectivity Tests From Vm Instance2 In l3_net_1
Log ${dst_ip_list}
${other_dst_ip_list}= Create List @{NET_2_VM_IPS}[0] @{DHCP_IPS}[1] @{NET_2_VM_IPS}[2]
Log ${other_dst_ip_list}
+ Get OvsDebugInfo
OpenStackOperations.Test Operations From Vm Instance l3_net_1 @{NET_1_VM_IPS}[1] ${dst_ip_list} l2_or_l3=l3 list_of_external_dst_ips=${other_dst_ip_list}
Connectivity Tests From Vm Instance3 In l3_net_1
Log ${dst_ip_list}
${other_dst_ip_list}= Create List @{NET_2_VM_IPS}[0] @{DHCP_IPS}[1] @{NET_2_VM_IPS}[2]
Log ${other_dst_ip_list}
+ Get OvsDebugInfo
OpenStackOperations.Test Operations From Vm Instance l3_net_1 @{NET_1_VM_IPS}[2] ${dst_ip_list} l2_or_l3=l3 list_of_external_dst_ips=${other_dst_ip_list}
Bring Up ODL1 and ODL2
Log ${dst_ip_list}
${other_dst_ip_list}= Create List @{NET_1_VM_IPS}[0] @{DHCP_IPS}[0] @{NET_1_VM_IPS}[1] @{NET_1_VM_IPS}[2]
Log ${other_dst_ip_list}
+ Get OvsDebugInfo
OpenStackOperations.Test Operations From Vm Instance l3_net_2 @{NET_2_VM_IPS}[0] ${dst_ip_list} l2_or_l3=l3 list_of_external_dst_ips=${other_dst_ip_list}
Connectivity Tests From Vm Instance2 In l3_net_2
Log ${dst_ip_list}
${other_dst_ip_list}= Create List @{NET_1_VM_IPS}[0] @{DHCP_IPS}[0] @{NET_1_VM_IPS}[1] @{NET_1_VM_IPS}[2]
Log ${other_dst_ip_list}
+ Get OvsDebugInfo
OpenStackOperations.Test Operations From Vm Instance l3_net_2 @{NET_2_VM_IPS}[1] ${dst_ip_list} l2_or_l3=l3 list_of_external_dst_ips=${other_dst_ip_list}
Connectivity Tests From Vm Instance3 In l3_net_2
Log ${dst_ip_list}
${other_dst_ip_list}= Create List @{NET_1_VM_IPS}[0] @{DHCP_IPS}[0] @{NET_1_VM_IPS}[1] @{NET_1_VM_IPS}[2]
Log ${other_dst_ip_list}
+ Get OvsDebugInfo
OpenStackOperations.Test Operations From Vm Instance l3_net_2 @{NET_2_VM_IPS}[2] ${dst_ip_list} l2_or_l3=l3 list_of_external_dst_ips=${other_dst_ip_list}
Bring Up ODL2 and ODL3