Browse Source

Editing of scale tests and test dvs_vcenter_same_ip

Change-Id: I1cfe170b07458a1ec1828a129ffe8a88d62ea7f0
tags/v3.0.0
Vasily Gorin 2 years ago
parent
commit
ba41084b5c
1 changed files with 49 additions and 21 deletions
  1. 49
    21
      docs/test_plan/source/test_suite_system.rst

+ 49
- 21
docs/test_plan/source/test_suite_system.rst View File

@@ -597,17 +597,46 @@ Steps
597 597
     1. Set up for system tests.
598 598
     2. Log in to Horizon Dashboard.
599 599
     3. Create 2 non-admin tenants "test_1" and "test_2": Identity -> Projects -> Create Project. On tab Project Members add admin with admin and member.
600
-    4. In tenant "test_1" create net1 and subnet1 with CIDR 10.0.0.0/24.
601
-    5. In tenant "test_1" create security group "SG_1" and add rule that allows ingress icmp traffic.
602
-    6. In tenant "test_2" create net2 and subnet2 with CIDR 10.0.0.0/24.
603
-    7. In tenant "test_2" create security group "SG_2".
604
-    8. In tenant "test_1"  launch VM_1 of vcenter availability zone in net1 with ip 10.0.0.4 and "SG_1" as security group.
605
-    9. In tenant "test_1"  launch  VM_2 of nova availability zone in net1 with ip 10.0.0.5 and "SG_1" as security group.
606
-    10. In tenant "test_2" create net1 and subnet1 with CIDR 10.0.0.0/24.
607
-    11. In tenant "test_2" create security group "SG_1" and add rule that allows ingress icmp traffic.
608
-    12. In tenant "test_2" launch  VM_3 of nova  availability zone in net1 with ip 10.0.0.4 and "SG_1" as security group.
609
-    13. In tenant "test_2" launch VM_4 of vcenter availability zone in net1 with ip 10.0.0.5 and "SG_1" as security group.
610
-    14. Verify that instances with same ip on different tenants communicate between each other. Send icmp ping from VM_1 to VM_3,  VM_2 to VM_4 and vice versa.
600
+    4. In tenant 'test_1' create net1 and subnet1 with CIDR 10.0.0.0/24.
601
+    5. In tenant 'test_1' create Router 'router_01' with external floating network
602
+    6. In tenant 'test_1' attach interface of 'net1', 'subnet1' to 'router_1'
603
+    7. In tenant 'test_1' create security group "SG_1" and add rule that allows ingress icmp traffic.
604
+    8. In tenant 'test_1' launch instance:
605
+        * name: VM_1
606
+        * AZ: vcenter
607
+        * image: TestVM-VMDK
608
+        * flavor: m1.micro
609
+        * network: net1 with ip 10.0.0.4
610
+        * SG: SG_1
611
+    9. In tenant 'test_1' launch instance:
612
+        * name: VM_2
613
+        * AZ: nova
614
+        * image: TestVM
615
+        * flavor: m1.micro
616
+        * network: net1 with ip 10.0.0.5
617
+        * SG: SG_1
618
+    10. In tenant 'test_2' create net2 and subnet2 with CIDR 10.0.0.0/24.
619
+    11. In tenant 'test_2' Create Router 'router_2' with external floating network
620
+    12. In tenant 'test_2' attach interface of net2, subnet2 to router_2
621
+    13. In tenant "test_2" create security group "SG_2" and add rule that allows ingress icmp traffic.
622
+    14. In tenant "test_2" launch instance:
623
+        * name: VM_3
624
+        * AZ: nova
625
+        * image: TestVM
626
+        * flavor: m1.micro
627
+        * network: net2 with ip 10.0.0.4
628
+        * SG: SG_2
629
+    15. In tenant "test_2" launch instance:
630
+        * name: VM_4
631
+        * AZ: vcenter
632
+        * image: TestVM-VMDK
633
+        * flavor: m1.micro
634
+        * network: net2 with ip 10.0.0.5
635
+        * SG: SG_2
636
+    16. Assign floating ips for each instance
637
+    17. Check instances in tenant_1 communicate between each other by internal ip
638
+    18. Check instances in tenant_2 communicate between each other by internal ip
639
+    19. Check instances in different tenants communicate between each other by floating ip.
611 640
 
612 641
 
613 642
 Expected result
@@ -1176,13 +1205,12 @@ Steps
1176 1205
     8. Deploy changes
1177 1206
     9. Run OSTF
1178 1207
     10. Remove controller on which DVS agent is run.
1179
-    11. Reconfigure VMware vCenter Settings.
1180
-    12. Deploy changes
1181
-    13. Rerun OSTF
1182
-    14. Add 1 nodes with controller role to the cluster
1183
-    15. Verify networks
1184
-    16. Redeploy changes
1185
-    17. Rerun OSTF
1208
+    11. Deploy changes
1209
+    12. Rerun OSTF
1210
+    13. Add 1 nodes with controller role to the cluster
1211
+    14. Verify networks
1212
+    15. Redeploy changes
1213
+    16. Rerun OSTF
1186 1214
 
1187 1215
 Expected result
1188 1216
 ###############
@@ -1218,7 +1246,7 @@ Steps
1218 1246
     3. Verify networks
1219 1247
     4. Deploy changes
1220 1248
     5. Rerun OSTF
1221
-    6. Add 1 nodes with compute role to the cluster
1249
+    6. Add 1 node with compute role to the cluster
1222 1250
     7. Verify networks
1223 1251
     8. Redeploy changes
1224 1252
     9. Rerun OSTF
@@ -1262,11 +1290,11 @@ Steps
1262 1290
         * Controller
1263 1291
         * Controller
1264 1292
         * Controller
1265
-    4. Configure VMware vCenter Settings. Add vSphere clusters and configure Nova Compute instance on conrollers.
1293
+    4. Configure VMware vCenter Settings. Add vSphere clusters and configure Nova Compute instance on conroller.
1266 1294
     5. Deploy the cluster.
1267 1295
     6. Run OSTF tests.
1268 1296
     7. Launch instance in vcenter az.
1269
-    8. Add 2 nodes with compute-vmware role and redeploy cluster.
1297
+    8. Add 1 node with compute-vmware role,configure Nova Compute instance on compute-vmware and redeploy cluster.
1270 1298
     9. Verify that previously created instance is working.
1271 1299
     10. Run OSTF tests.
1272 1300
     11. Delete compute-vmware

Loading…
Cancel
Save