11 KiB
DPDK
Contrail HA DPDK
ID
contrail_ha_dpdk
Description
Check Contrail deploy on HA environment with dpdk
Complexity
advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration and CEPH storage
- Enable and configure Contrail plugin
- Deploy cluster with following node configuration: node-01: 'controller'; node-02: 'controller'; node-03: 'controller', 'ceph-osd'; node-04: 'compute', 'ceph-osd'; node-05: 'compute', 'ceph-osd'; node-06: 'contrail-controller'; node-07: 'contrail-analytics', node-08: 'contrail-analytics-db'; node-dpdk: 'compute', dpdk';
- Run OSTF tests
- Run contrail health check tests
Expected results
All steps should pass
Contrail DPDK add compute
ID
contrail_dpdk_add_compute
Description
Verify that Contrail compute role can be added after deploying
Complexity
advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration
- Enable and configure Contrail plugin
- Deploy cluster with following node configuration: node-1: 'controller', 'ceph-osd'; node-2: 'contrail-controller'; node-3: 'compute', 'ceph-osd'; node-4: 'compute', 'ceph-osd'; node-5: 'compute', 'ceph-osd'; node-6: 'contrail-analytics', 'contrail-analytics-db'; node-dpdk: 'compute', 'dpdk';
- Run OSTF tests
- Run contrail health check tests
- Add one node with following configuration: node-7: "compute", "ceph-osd";
- Deploy changes
- Run OSTF tests
- Run contrail health check tests
Expected results
All steps should pass
Contrail DPDK delete compute
ID
contrail_dpdk_delete_compute
Description
Verify that Contrail compute role can be deleted after deploying
Complexity
advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration
- Enable and configure Contrail plugin
- Deploy cluster with following node configuration: node-01: 'controller'; node-02: 'contrail-controller'; node-03: 'contrail-controller'; node-04: 'compute', 'cinder'; node-05: 'compute'; node-06: 'contrail-analytics', 'contrail-analytics-db';
- Run OSTF tests
- Delete node-05 with "compute" role
- Deploy changes
- Run OSTF tests
- Run contrail health check tests
Expected results
All steps should pass
Contrail DPDK add dpdk
ID
contrail_dpdk_add_dpdk
Description
Verify that DPDK role can be added after deploying
Complexity
advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration
- Enable and configure Contrail plugin
- Deploy cluster with following node configuration: node-01: 'controller', 'ceph-osd'; node-02: contrail-controller'; node-03: 'compute', 'ceph-osd'; node-04: 'compute', 'ceph-osd'; node-05: 'controller', 'cinder'; node-06: 'controller', 'cinder'; node-07: 'contrail-analytics'; node-08: 'contrail-analytics-db';
- Run OSTF tests
- Run contrail health check tests
- Add one node with following configuration: node-dpdk: "compute", "dpdk";
- Deploy changes
- Run OSTF tests
- Run contrail health check tests
Expected results
All steps should pass
Contrail DPDK delete dpdk
ID
contrail_dpdk_delete_dpdk
Description
Verify that DPDK role can be deleted after deploying
Complexity
advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration
- Enable and configure Contrail plugin
- Deploy cluster with following node configuration: node-01: 'controller', 'ceph-osd', 'cinder'; node-02: 'contrail-controller'; node-03: 'compute', 'ceph-osd'; node-04: 'compute', 'ceph-osd'; node-05: 'contrail-analytics' 'contrail-analytics-db'; node-dpdk: 'compute', 'dpdk';
- Run OSTF tests
- Run contrail health check tests
- Delete node "node-dpdk" with "dpdk" and "compute" roles
- Deploy changes
- Run OSTF tests
- Run contrail health check tests
Expected results
All steps should pass
Check updating core repos with Contrail plugin and DPDK
ID
contrail_dpdk_update_core_repos
Description
Check updating core repos with Contrail plugin and DPDK
Complexity
advanced
Steps
- Deploy cluster with some controller+mongo, compute+ceph-osd, compute+dpdk and contrail-specified nodes
- Run 'fuel-mirror create -P ubuntu -G mos ubuntu' on the master node
- Run 'fuel-mirror apply -P ubuntu -G mos ubuntu --env <env_id> --replace' on the master node
- Update repos for all deployed nodes with command "fuel --env <env_id> node --node-id 1,2,3,4,5,6,7,9,10 --tasks setup_repositories" on the master node
- Run OSTF and check Contrail node status.
Expected results
All steps must be completed successfully, without any errors
Contrail DPDK add controller
ID
contrail_dpdk_add_controller
Description
Verify that controller node can be added after deploy
Complexity
advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration
- Enable and configure Contrail plugin
- Deploy cluster with following node configuration: node-1: 'controller', 'ceph-osd'; node-2: 'contrail-controller'; node-3: 'compute', 'ceph-osd'; node-4: 'compute', 'ceph-osd'; node-5: 'contrail-analytics', 'contrail-analytics-db'; node-6: 'contrail-analytics';
- Run OSTF tests
- Run contrail health check tests
- Add one node with following configuration: node-8: 'controller', 'ceph-osd';
- Deploy changes
- Run OSTF tests
- Run contrail health check tests
Expected results
All steps must be completed successfully, without any errors
Contrail DPDK delete controller
ID
contrail_dpdk_delete_controller
Description
Verify that controller node can be deleted after deploy
Complexity
advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration
- Enable and configure Contrail plugin
- Deploy cluster with following node configuration: node-01: 'controller'; node-02: 'contrail-controller; node-03: 'controller'; node-04: 'compute', 'cinder'; node-05: 'controller'; node-06: 'contrail-analytics', 'contrail-analytics-db'; node-07: 'contrail-analytics-db'; node-08: 'contrail-analytics-db';
- Run OSTF tests
- Delete node-01 with "controller" role
- Deploy changes
- Run OSTF tests
- Run contrail health check tests
Expected results
All steps must be completed successfully, without any errors
Verify that contrail nodes can be added after deploying with dpdk and sriov
ID
contrail_add_to_dpdk_sriov
Description
Verify that contrail nodes can be added after deploying with dpdk and sriov
Complexity
Advanced
Steps
- Create an environment with "Neutron with tunneling segmentation" as a network configuration
- Enable and configure Contrail plugin
- Add dpdk+compute node
- Add nodes with following node configuration: node-1: 'controller'; node-2: 'compute', 'cinder'; node-3: 'contrail-controller'; node-4: 'contrail-analytics', 'contrail-analytics-db';
- Enable sriov on interfaces of dpdk+compute node
- Deploy cluster
- Run OSTF
- Run contrail health check tests
- Add nodes with configurations: node-5: 'contrail-controller'; node-6: 'contrail-controller'; node-7: 'contrail-analytics-db'; node-8: 'contrail-analytics'; node-9: 'contrail-analytics', 'contrail-analytics-db';
- Deploy changes
- Run OSTF
- Run contrail health check tests
Expected results
All steps must be completed successfully, without any errors.
Contrail DPDK boot instance
ID
test_dpdk_boot_snapshot_vm
Description
Launch instance, create snapshot, launch instance from snapshot.
Complexity
advanced
Steps
- Create no default network with subnet.
- Get existing flavor with hpgs.
- Launch an instance using the default image and flavor with hpgs in the hpgs availability zone.
- Make snapshot of the created instance.
- Delete the last created instance.
- Launch another instance from the snapshot created in step 4 and flavor with hpgs in the hpgs availability zone.
- Delete the last created instance.
Expected results
All steps must be completed successfully, without any errors.
Contrail DPDK boot instance from volume
ID
test_dpdk_volume
Description
Create volume and boot instance from it.
Complexity
advanced
Steps
- Create no default network with subnet.
- Get existing flavor with hpgs.
- Create a new small-size volume from image.
- Wait for volume status to become "available".
- Launch an instance using the default image and flavor with hpgs in the hpgs availability zone.
- Wait for "Active" status.
- Delete the last created instance.
- Delete volume and verify that volume deleted.
Expected results
All steps must be completed successfully, without any errors.
Contrail DPDK Check network connectivity from instance via floating IP
ID
test_dpdk_check_public_connectivity_from_instance
Description
Check network connectivity from instance via floating IP
Complexity
advanced
Steps
- Create no default network with subnet.
- Create Router_01, set gateway and add interface to external network.
- Get existing flavor with hpgs.
- Create a new security group (if it doesn`t exist yet).
- Launch an instance using the default image and flavor with hpgs in the hpgs availability zone.
- Create a new floating IP.
- Assign the new floating IP to the instance.
- Check connectivity to the floating IP using ping command.
- Check that public IP 8.8.8.8 can be pinged from instance.
- Delete instance.
Expected results
All steps must be completed successfully, without any errors.