Create tests for SR-IOV feature (networking)

Registered by Artem Panchenko on 2016-02-25

We need to add tests for Fuel which will cover use cases of new SR-IOV feature for networking. New tests cases should be added to the manual release acceptance tests suite on baremetal, because the feature can't be used on virtual environments like QEMU or Virtualbox. They will be automated as soon as baremetal driver for fuel-devops is implemented and fuel-qa support is added for it.

Also OSTF tests must be aligned with the feature if necessary (e.g. instance live migration, security group creation and so on).

Base test scenario for new cases is the following:

1. Create new environment with VLAN segmentation for Neutron
2. Add nodes which support SR-IOV (e.g. 3 controller and 3 compute+[ceph/cinder ] nodes)
3. Check that SR-IOV support is correctly detected by nodes discovery system (Nailgun agent)
4. Enable SR-IOV for some interfaces (w/o networks assignments) on compute nodes.
5. Run network verification
6. Deploy environment
5. Run network verification
6. Run OSTF
7. Create instance connected to SR-IOV port
8. Assign floating IP to it
9. Check that instance is reachable via floating IP

Negative test cases are also need to be implemented:

 * SR-IOV can't be used with tunneling segmentation (GRE/VXLAN)
 * SR-IOV can't be enabled on interfaces which do not support this technology (agent reports that sriov is not available for NIC, corresponding button on UI is not shown)
 * networks (including Private) can't be assigned to interface with enabled SR-IOV
 * SR-IOV can't be enabled if DPDK usage is activated (actual behaviour is not clear from specification, so this point will be clarified)
 * SR-IOV can't be enabled on non-compute nodes (actual behaviour is not clear from specification, so this point will be clarified)

Blueprint information

Status:
Started
Approver:
Nastya Urlapova
Priority:
Essential
Drafter:
Artem Panchenko
Direction:
Approved
Assignee:
Artem Panchenko
Definition:
Pending Approval
Series goal:
Accepted for future
Implementation:
Started
Milestone target:
milestone icon 9.0
Started by
Nastya Urlapova on 2016-03-01

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1566906,n,z

Addressed by: https://review.openstack.org/302304
    Add test_sriov_instance_connectivity

Addressed by: https://review.openstack.org/305689
    Add test_sriov_instance_connectivity

it should be noted that sriov and dpdk can be used on the same platform it SR-IOV VF are allocated from a seperate nic(s) to to the nic(s) used for dpdk.(sean-k-mooney)

Gerrit topic: https://review.openstack.org/#q,topic:bp/run-fuel-qa-on-baremetal,n,z

Addressed by: https://review.openstack.org/327350
    [WIP][BM] Add SR-IOV support test

Addressed by: https://review.openstack.org/348263
    [BM] Add SR-IOV support test

Gerrit topic: https://review.openstack.org/#q,topic:bp/test-sriov-support,n,z

Addressed by: https://review.openstack.org/351112
    Fix nailgun nodes without sriov support generation

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.