Browse Source

Merge "[TestPlan] Add tests for dvs multiple uplinks"

Jenkins 2 years ago
parent
commit
9f13155076

+ 1
- 1
docs/test_plan/source/test_suite_smoke.rst View File

@@ -107,7 +107,7 @@ Steps
107 107
     3. Go to Network tab -> Other subtab and check DVS plugin section is displayed with all required GUI elements:
108 108
        'Neutron VMware DVS ML2 plugin' checkbox
109 109
        'Use the VMware DVS firewall driver' checkbox
110
-       'Enter the cluster to dvSwitch mapping.' text field with description 'List of ClusterName:SwitchName pairs, separated by semicolon.'
110
+       'Enter the cluster to dvSwitch mapping.' text field with description 'List of strings with format ClusterName:dvSwitchName:TeamingUplink1;TeamingUplink2:FallbackUplink1;FallbackUplink2.'
111 111
        'Versions' radio button with <plugin version>
112 112
     4. Verify that checkbox 'Neutron VMware DVS ML2 plugin' is enabled by default.
113 113
     5. Verify that user can disable/enable the DVS plugin by clicking on the checkbox 'Neutron VMware DVS ML2 plugin'.

+ 179
- 2
docs/test_plan/source/test_suite_system.rst View File

@@ -15,7 +15,8 @@ dvs_vcenter_systest_setup
15 15
 Description
16 16
 ###########
17 17
 
18
-Deploy environment in DualHypervisors mode with 1 controller, 1 compute-vmware and 2 compute nodes. Nova Compute instances are running on controller nodes.
18
+Deploy environment in DualHypervisors mode with 1 controller, 1 compute-vmware
19
+and 2 compute nodes. Nova Compute instances are running on controller nodes.
19 20
 
20 21
 
21 22
 Complexity
@@ -42,7 +43,8 @@ Steps
42 43
     5. Configure network settings.
43 44
     6. Enable and configure DVS plugin.
44 45
     7. Enable VMware vCenter/ESXi datastore for images (Glance).
45
-    8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure Nova Compute instances on controllers and compute-vmware.
46
+    8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure
47
+       Nova Compute instances on controllers and compute-vmware.
46 48
     9. Verify networks.
47 49
     10. Deploy cluster.
48 50
     11. Run OSTF.
@@ -1302,3 +1304,178 @@ Expected result
1302 1304
 ###############
1303 1305
 
1304 1306
 Cluster is deployed successfully and all OSTF tests are passed.
1307
+
1308
+
1309
+Launch cluster with multiple teaming uplinks.
1310
+---------------------------------------------
1311
+
1312
+ID
1313
+##
1314
+
1315
+dvs_multiple_uplinks_teaming
1316
+
1317
+Description
1318
+###########
1319
+
1320
+Launch cluster with multiple teaming uplinks.
1321
+
1322
+Complexity
1323
+##########
1324
+
1325
+core
1326
+
1327
+Steps
1328
+#####
1329
+
1330
+    1. Install DVS plugin on master node.
1331
+    2. Create a new environment with following parameters:
1332
+        * Compute: KVM/QEMU with vCenter
1333
+        * Networking: Neutron with VLAN segmentation
1334
+        * Storage: default
1335
+        * Additional services: default
1336
+    3. Add nodes with following roles:
1337
+        * Controller
1338
+        * Compute
1339
+        * Compute
1340
+        * ComputeVMware
1341
+    4. Configure interfaces on nodes.
1342
+    5. Configure network settings.
1343
+    6. Enable and configure DVS plugin with multiple uplinks.
1344
+       In format "luster:VDS:TU1;TU2;TU3".
1345
+    7. Enable VMware vCenter/ESXi datastore for images (Glance).
1346
+    8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure
1347
+       Nova Compute instances on controllers and compute-vmware.
1348
+    9. Verify networks.
1349
+    10. Deploy cluster.
1350
+    11. Run OSTF.
1351
+
1352
+Expected result
1353
+###############
1354
+
1355
+Cluster is deployed successfully and all OSTF tests are passed.
1356
+
1357
+
1358
+Launch cluster with multiple teaming and fallback uplniks.
1359
+----------------------------------------------------------
1360
+
1361
+ID
1362
+##
1363
+
1364
+dvs_multiple_uplinks_teaming_fallback
1365
+
1366
+Description
1367
+###########
1368
+
1369
+Launch cluster with multiple teaming and fallback uplinks.
1370
+
1371
+Complexity
1372
+##########
1373
+
1374
+core
1375
+
1376
+Steps
1377
+#####
1378
+
1379
+    1. Install DVS plugin on master node.
1380
+    2. Create a new environment with following parameters:
1381
+        * Compute: KVM/QEMU with vCenter
1382
+        * Networking: Neutron with VLAN segmentation
1383
+        * Storage: default
1384
+        * Additional services: default
1385
+    3. Add nodes with following roles:
1386
+        * Controller
1387
+        * Compute
1388
+        * Compute
1389
+        * ComputeVMware
1390
+    4. Configure interfaces on nodes.
1391
+    5. Configure network settings.
1392
+    6. Enable and configure DVS plugin with multiple uplinks.
1393
+       In foramt "Cluster:VDS:TU1;TU2:FU3".
1394
+    7. Enable VMware vCenter/ESXi datastore for images (Glance).
1395
+    8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure
1396
+       Nova Compute instances on controllers and compute-vmware.
1397
+    9. Verify networks.
1398
+    10. Deploy cluster.
1399
+    11. Run OSTF.
1400
+
1401
+Expected result
1402
+###############
1403
+
1404
+Cluster is deployed successfully and all OSTF tests are passed.
1405
+
1406
+
1407
+
1408
+Disable teaming uplinks.
1409
+------------------------
1410
+
1411
+
1412
+ID
1413
+##
1414
+
1415
+dvs_multiple_uplinks_disable_teaming
1416
+
1417
+Description
1418
+###########
1419
+
1420
+Disable teaming uplinks.
1421
+
1422
+Complexity
1423
+##########
1424
+
1425
+core
1426
+
1427
+Steps
1428
+#####
1429
+
1430
+    1. Launch cluster with 2 teaming and 1 fallback uplinks.
1431
+    2. Run OSTF.
1432
+    3. Up instance in default net in vCenter availability zone
1433
+    4. Up instance in default net in nova availability zone
1434
+    5. Disable first teaming uplink in vCenter.
1435
+    6. Check instances are alive and functioning.
1436
+    7. Disable all teaming uplinks in vCenter.
1437
+    8. Check instances are alive and functioning.
1438
+    9. Run OSTF.
1439
+
1440
+Expected result
1441
+###############
1442
+
1443
+After disabling teaming uplinks instances are alive and functioning.
1444
+All OSTF tests passed.
1445
+
1446
+
1447
+Disabele teaming uplinks on cluster without fallback uplinks.
1448
+-------------------------------------------------------------
1449
+
1450
+
1451
+ID
1452
+##
1453
+
1454
+dvs_multiple_uplinks_disable_teaming_without_fu
1455
+
1456
+Description
1457
+###########
1458
+
1459
+Disabele teaming uplinks on cluster without fallback uplinks.
1460
+
1461
+Complexity
1462
+##########
1463
+
1464
+core
1465
+
1466
+Steps
1467
+#####
1468
+
1469
+    1. Launch cluster with 3 teaming uplinks.
1470
+    2. Run OSTF.
1471
+    3. Up instance in default net in vCenter availability zone
1472
+    4. Up instance in default net in nova availability zone
1473
+    5. Disable two used teaming uplinks in vCenter.
1474
+    6. Check instances are alive and functioning.
1475
+    7. Run OSTF.
1476
+
1477
+Expected result
1478
+###############
1479
+
1480
+After disabling two of three teaming uplinks instances are alive and functioning.
1481
+All OSTF tests passed.

Loading…
Cancel
Save