enable a nova instance to be booted up with neutron SRIOV ports

Registered by Baodong (Robert) Li

Addresse functionalities required in the nova side to support neutron SR-IOV ports.

https://wiki.openstack.org/wiki/Nova-neutron-sriov

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Baodong (Robert) Li
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
John Garbutt
Completed by
Michael Still

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/67500
        Add support to --nic new parameters pci-alias: name of a pci alias (optional), sriov: sriov mode (macvtap or direct, default to macvtap) (optional), port-profile: name of a port profile, (required if pci-alias is present)

Gerrit topic: https://review.openstack.org/#q,topic:bp/s,n,z

We need a description of what is going to be required to have this tested and what those tests are going to look like. -- beaglesGerrit topic: https://review.openstack.org/#q,topic:bp/pci-passthrough-sriov,n,z

Addressed by: https://review.openstack.org/67500
        Add support to --nic new parameters pci-alias: name of a pci alias (optional), sriov: sriov mode (macvtap or direct, default to macvtap) (optional), port-profile: name of a port profile, (required if pci-alias is present)

Gerrit topic: https://review.openstack.org/#q,topic:bp/s,n,z

We need a description of what is going to be required to have this tested and what those tests are going to look like. -- beagles

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

Gerrit topic: https://review.openstack.org/#q,topic:bp/for,n,z

Addressed by: https://review.openstack.org/86606
    Proposed blueprint for PCI SR-IOV networking support

Addressed by: https://review.openstack.org/98828
    Support SR-IOV networking in nova compute api and nova neutronv2

Addressed by: https://review.openstack.org/99042
    enables SR-IOV for networking While keeping the existing PCI passthrough functionality intact, this patch makes the following enhancements: -- whitelist: A whitelist entry is defined as: ["device_id":"<id>",]["product_id":"<id>",] ["addre

Addressed by: https://review.openstack.org/99043
    enables SR-IOV for networking This is the first patch for this blueprint.

Would be awesome if you can tidy up the above list of patches, making it clear what ones are no longer applicable, thanks --johnthetubaguy (17th June 2014)

Don't have all the code up for review, as far as I can tell, so putting to juno-3 --johnthetubagy (15th July 2014)

Addressed by: https://review.openstack.org/81954
    makes sure correct PCI device allocation

Addressed by: https://review.openstack.org/107123
    Support SR-IOV networking in the PCI modules.

Addressed by: https://review.openstack.org/107466
    Support SR-IOV networking in libvirt

Please review the following complete set of patches to implement this BP:

Addressed by: https://review.openstack.org/81954
    makes sure correct PCI device allocation

Addressed by: https://review.openstack.org/99043
    enables SR-IOV for networking This is the first patch for this blueprint.

Addressed by: https://review.openstack.org/98828
    Support SR-IOV networking in nova compute api and nova neutronv2

Addressed by: https://review.openstack.org/107123
    Support SR-IOV networking in the PCI modules.

Addressed by: https://review.openstack.org/107466
    Support SR-IOV networking in libvirt

Gerrit topic: https://review.openstack.org/#q,topic:bp/pci-passthrough-sriov-patch13,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/pci-passthrough-sriov-patch30,n,z

Addressed by: https://review.openstack.org/114286
    Add request_id in PciDevice

Addressed by: https://review.openstack.org/116419
    Avoid refreshing PCI devices on instance.save()

Gerrit topic: https://review.openstack.org/#q,topic:bp/virt-driver-numa-placement,n,z

Addressed by: https://review.openstack.org/117781
    Add pci_requests to instance_extra table

Addressed by: https://review.openstack.org/117839
    WIP: Add InstancePCIRequests object

This is blocked behind some refactoring work:
https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:refactor-megatuple,n,z
There was an agreement in the last nova-meeting to give this a FFE if we can get the above stuff done before FF
--johnthetubaguy 2nd September 2014

Addressed by: https://review.openstack.org/117895
    Add instance_extra_update_by_uuid() to DB API

Addressed by: https://review.openstack.org/118391
    Replace pci_request flavor storage with proper object usage

This has got a FFE as the clean up code is now up for review. --johnthetubaguy 3rd September 2014

Addressed by: https://review.openstack.org/120423
    Fix object version hash test

Addressed by: https://review.openstack.org/120675
    Add new unit tests for PCI stats

Gerrit topic: https://review.opendev.org/#/q/topic:bp/pci-passthrough-sriov

Addressed by: https://review.opendev.org/709658
    Enable instance to be booted with neutron SR-IOV ports

(?)

Work Items