From 63a8dac38315d6b6c5fe5e65f3ac3add7f9af138 Mon Sep 17 00:00:00 2001 From: Vasily Gorin Date: Thu, 15 Sep 2016 15:55:30 +0300 Subject: [PATCH] [TestPlan] Add tests for dvs multiple uplinks Change-Id: I31d264b3d5b2452feb3b117dd762f1d1c28b5f8b --- docs/test_plan/source/test_suite_smoke.rst | 2 +- docs/test_plan/source/test_suite_system.rst | 181 +++++++++++++++++++- 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 3. Go to Network tab -> Other subtab and check DVS plugin section is displayed with all required GUI elements: 'Neutron VMware DVS ML2 plugin' checkbox 'Use the VMware DVS firewall driver' checkbox - 'Enter the cluster to dvSwitch mapping.' text field with description 'List of ClusterName:SwitchName pairs, separated by semicolon.' + 'Enter the cluster to dvSwitch mapping.' text field with description 'List of strings with format ClusterName:dvSwitchName:TeamingUplink1;TeamingUplink2:FallbackUplink1;FallbackUplink2.' 'Versions' radio button with 4. Verify that checkbox 'Neutron VMware DVS ML2 plugin' is enabled by default. 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 Description ########### -Deploy environment in DualHypervisors mode with 1 controller, 1 compute-vmware and 2 compute nodes. Nova Compute instances are running on controller nodes. +Deploy environment in DualHypervisors mode with 1 controller, 1 compute-vmware +and 2 compute nodes. Nova Compute instances are running on controller nodes. Complexity @@ -42,7 +43,8 @@ Steps 5. Configure network settings. 6. Enable and configure DVS plugin. 7. Enable VMware vCenter/ESXi datastore for images (Glance). - 8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure Nova Compute instances on controllers and compute-vmware. + 8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure + Nova Compute instances on controllers and compute-vmware. 9. Verify networks. 10. Deploy cluster. 11. Run OSTF. @@ -1302,3 +1304,178 @@ Expected result ############### Cluster is deployed successfully and all OSTF tests are passed. + + +Launch cluster with multiple teaming uplinks. +--------------------------------------------- + +ID +## + +dvs_multiple_uplinks_teaming + +Description +########### + +Launch cluster with multiple teaming uplinks. + +Complexity +########## + +core + +Steps +##### + + 1. Install DVS plugin on master node. + 2. Create a new environment with following parameters: + * Compute: KVM/QEMU with vCenter + * Networking: Neutron with VLAN segmentation + * Storage: default + * Additional services: default + 3. Add nodes with following roles: + * Controller + * Compute + * Compute + * ComputeVMware + 4. Configure interfaces on nodes. + 5. Configure network settings. + 6. Enable and configure DVS plugin with multiple uplinks. + In format "luster:VDS:TU1;TU2;TU3". + 7. Enable VMware vCenter/ESXi datastore for images (Glance). + 8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure + Nova Compute instances on controllers and compute-vmware. + 9. Verify networks. + 10. Deploy cluster. + 11. Run OSTF. + +Expected result +############### + +Cluster is deployed successfully and all OSTF tests are passed. + + +Launch cluster with multiple teaming and fallback uplniks. +---------------------------------------------------------- + +ID +## + +dvs_multiple_uplinks_teaming_fallback + +Description +########### + +Launch cluster with multiple teaming and fallback uplinks. + +Complexity +########## + +core + +Steps +##### + + 1. Install DVS plugin on master node. + 2. Create a new environment with following parameters: + * Compute: KVM/QEMU with vCenter + * Networking: Neutron with VLAN segmentation + * Storage: default + * Additional services: default + 3. Add nodes with following roles: + * Controller + * Compute + * Compute + * ComputeVMware + 4. Configure interfaces on nodes. + 5. Configure network settings. + 6. Enable and configure DVS plugin with multiple uplinks. + In foramt "Cluster:VDS:TU1;TU2:FU3". + 7. Enable VMware vCenter/ESXi datastore for images (Glance). + 8. Configure VMware vCenter Settings. Add 2 vSphere clusters and configure + Nova Compute instances on controllers and compute-vmware. + 9. Verify networks. + 10. Deploy cluster. + 11. Run OSTF. + +Expected result +############### + +Cluster is deployed successfully and all OSTF tests are passed. + + + +Disable teaming uplinks. +------------------------ + + +ID +## + +dvs_multiple_uplinks_disable_teaming + +Description +########### + +Disable teaming uplinks. + +Complexity +########## + +core + +Steps +##### + + 1. Launch cluster with 2 teaming and 1 fallback uplinks. + 2. Run OSTF. + 3. Up instance in default net in vCenter availability zone + 4. Up instance in default net in nova availability zone + 5. Disable first teaming uplink in vCenter. + 6. Check instances are alive and functioning. + 7. Disable all teaming uplinks in vCenter. + 8. Check instances are alive and functioning. + 9. Run OSTF. + +Expected result +############### + +After disabling teaming uplinks instances are alive and functioning. +All OSTF tests passed. + + +Disabele teaming uplinks on cluster without fallback uplinks. +------------------------------------------------------------- + + +ID +## + +dvs_multiple_uplinks_disable_teaming_without_fu + +Description +########### + +Disabele teaming uplinks on cluster without fallback uplinks. + +Complexity +########## + +core + +Steps +##### + + 1. Launch cluster with 3 teaming uplinks. + 2. Run OSTF. + 3. Up instance in default net in vCenter availability zone + 4. Up instance in default net in nova availability zone + 5. Disable two used teaming uplinks in vCenter. + 6. Check instances are alive and functioning. + 7. Run OSTF. + +Expected result +############### + +After disabling two of three teaming uplinks instances are alive and functioning. +All OSTF tests passed. \ No newline at end of file