Add PF PCI ID to Neutron port binding profile

Registered by Hemanth Nakkina

This is a specless blueprint as the proposed enhancement is minor with no API or DB updates.

Neutron port maintains the following information as part of binding profile

"binding:profile": {
    "physical_network": "physnet1",
    "pci_slot": "0000:86:17.4",
   "pci_vendor_info": "8086:10ed"
}
In case of SRIOV port, pci_slot holds VF PCI ID.

This blueprint enhances binding:profile to add Physical PCI ID as well to the binding profile.

"binding:profile": {
    "physical_network": "physnet1",
    "pci_slot": "0000:86:17.4",
    "pci_vendor_info": "8086:10ed",
    "pf_pci_slot": "0000:86:17.0"
}
pf_pci_slot holds the physical pci id

The use case is to capture both PF PCI ID and VF PCI ID in case of SRIOV ports during VM creation
so that Inventory (like ONAP AAI) can be updated.

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
Hemanth Nakkina
Direction:
Needs approval
Assignee:
Anthony Bellino
Definition:
Review
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
milestone icon next
Started by
Hemanth Nakkina

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-physical-pci-info-for-sriov-ports,n,z

Addressed by: https://review.openstack.org/530107
    Add PF PCI ID to port binding profile

Are there related changes required in Neutron for exposing the new field in the binding profile, or is that work already complete? Either way, please provide links to the work on the Neutron side. -- mriedem 20180104

From neutron perspective the binding profile is a dictionary that enables the app. to pass/receive vif port specs. to the plugin. For more information, please see https://github.com/openstack/neutron-lib/blob/master/neutron_lib/api/definitions/portbindings.py
-- ab2434 20180105

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.