summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily Gorin <vgorin@mirantis.com>2016-09-15 15:55:30 +0300
committerVasily Gorin <vgorin@mirantis.com>2016-09-16 15:41:56 +0300
commit63a8dac38315d6b6c5fe5e65f3ac3add7f9af138 (patch)
treee3ddd5f0b38a6c382ae0b4e0feb8e1f0dc0bd845
parenta537e4dbd4d89056011930245c22d8744b6cd97d (diff)
[TestPlan] Add tests for dvs multiple uplinks
Notes
Notes (review): Code-Review+2: Igor Gajsin <igajsin@mirantis.com> Workflow+1: Igor Gajsin <igajsin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 16 Sep 2016 12:48:37 +0000 Reviewed-on: https://review.openstack.org/370790 Project: openstack/fuel-plugin-vmware-dvs Branch: refs/heads/master
-rw-r--r--docs/test_plan/source/test_suite_smoke.rst2
-rw-r--r--docs/test_plan/source/test_suite_system.rst181
2 files changed, 180 insertions, 3 deletions
diff --git a/docs/test_plan/source/test_suite_smoke.rst b/docs/test_plan/source/test_suite_smoke.rst
index 337834d..20716b2 100644
--- a/docs/test_plan/source/test_suite_smoke.rst
+++ b/docs/test_plan/source/test_suite_smoke.rst
@@ -107,7 +107,7 @@ Steps
107 3. Go to Network tab -> Other subtab and check DVS plugin section is displayed with all required GUI elements: 107 3. Go to Network tab -> Other subtab and check DVS plugin section is displayed with all required GUI elements:
108 'Neutron VMware DVS ML2 plugin' checkbox 108 'Neutron VMware DVS ML2 plugin' checkbox
109 'Use the VMware DVS firewall driver' checkbox 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 'Versions' radio button with <plugin version> 111 'Versions' radio button with <plugin version>
112 4. Verify that checkbox 'Neutron VMware DVS ML2 plugin' is enabled by default. 112 4. Verify that checkbox 'Neutron VMware DVS ML2 plugin' is enabled by default.
113 5. Verify that user can disable/enable the DVS plugin by clicking on the checkbox 'Neutron VMware DVS ML2 plugin'. 113 5. Verify that user can disable/enable the DVS plugin by clicking on the checkbox 'Neutron VMware DVS ML2 plugin'.
diff --git a/docs/test_plan/source/test_suite_system.rst b/docs/test_plan/source/test_suite_system.rst
index a335f6b..6b86c39 100644
--- a/docs/test_plan/source/test_suite_system.rst
+++ b/docs/test_plan/source/test_suite_system.rst
@@ -15,7 +15,8 @@ dvs_vcenter_systest_setup
15Description 15Description
16########### 16###########
17 17
18Deploy environment in DualHypervisors mode with 1 controller, 1 compute-vmware and 2 compute nodes. Nova Compute instances are running on controller nodes. 18Deploy environment in DualHypervisors mode with 1 controller, 1 compute-vmware
19and 2 compute nodes. Nova Compute instances are running on controller nodes.
19 20
20 21
21Complexity 22Complexity
@@ -42,7 +43,8 @@ Steps
42 5. Configure network settings. 43 5. Configure network settings.
43 6. Enable and configure DVS plugin. 44 6. Enable and configure DVS plugin.
44 7. Enable VMware vCenter/ESXi datastore for images (Glance). 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 9. Verify networks. 48 9. Verify networks.
47 10. Deploy cluster. 49 10. Deploy cluster.
48 11. Run OSTF. 50 11. Run OSTF.
@@ -1302,3 +1304,178 @@ Expected result
1302############### 1304###############
1303 1305
1304Cluster is deployed successfully and all OSTF tests are passed. 1306Cluster is deployed successfully and all OSTF tests are passed.
1307
1308
1309Launch cluster with multiple teaming uplinks.
1310---------------------------------------------
1311
1312ID
1313##
1314
1315dvs_multiple_uplinks_teaming
1316
1317Description
1318###########
1319
1320Launch cluster with multiple teaming uplinks.
1321
1322Complexity
1323##########
1324
1325core
1326
1327Steps
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
1352Expected result
1353###############
1354
1355Cluster is deployed successfully and all OSTF tests are passed.
1356
1357
1358Launch cluster with multiple teaming and fallback uplniks.
1359----------------------------------------------------------
1360
1361ID
1362##
1363
1364dvs_multiple_uplinks_teaming_fallback
1365
1366Description
1367###########
1368
1369Launch cluster with multiple teaming and fallback uplinks.
1370
1371Complexity
1372##########
1373
1374core
1375
1376Steps
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
1401Expected result
1402###############
1403
1404Cluster is deployed successfully and all OSTF tests are passed.
1405
1406
1407
1408Disable teaming uplinks.
1409------------------------
1410
1411
1412ID
1413##
1414
1415dvs_multiple_uplinks_disable_teaming
1416
1417Description
1418###########
1419
1420Disable teaming uplinks.
1421
1422Complexity
1423##########
1424
1425core
1426
1427Steps
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
1440Expected result
1441###############
1442
1443After disabling teaming uplinks instances are alive and functioning.
1444All OSTF tests passed.
1445
1446
1447Disabele teaming uplinks on cluster without fallback uplinks.
1448-------------------------------------------------------------
1449
1450
1451ID
1452##
1453
1454dvs_multiple_uplinks_disable_teaming_without_fu
1455
1456Description
1457###########
1458
1459Disabele teaming uplinks on cluster without fallback uplinks.
1460
1461Complexity
1462##########
1463
1464core
1465
1466Steps
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
1477Expected result
1478###############
1479
1480After disabling two of three teaming uplinks instances are alive and functioning.
1481All OSTF tests passed. \ No newline at end of file