[RFE] add new extension "device-profile" for port

Bug #1906602 reported by Xinran WANG
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Rodolfo Alonso

Bug Description

A device_profile is a notion of Cyborg project, please refer to https://docs.openstack.org/api-ref/accelerator/v2/index.html#device-profiles

It is a named set of user requirements for one or more accelerators. It can be viewed as a flavor for devices. Broadly it includes two things: the desired amounts of specific resource classes and the requirements that the resource provider(s) must satisfy.

Neutron needs to add a new extension "device_profile" which filled by the name of a device profile indicating an accelerator that can be associated with a neutron port, in order to offload some networking workload on the smartnic.

Please refer to nova spec for the details:
https://review.opendev.org/c/openstack/nova-specs/+/742785/13/specs/wallaby/approved/support-sriov-smartnic.rst#261

Tags: rfe-approved
Revision history for this message
Slawek Kaplonski (slaweq) wrote :
Revision history for this message
Xinran WANG (xinran) wrote :

Yes, thanks for providing the link. Please see the latest patchset https://review.opendev.org/c/openstack/nova-specs/+/742785/15

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

We discussed that RFE on today's drivers meeting and we decided to approve it. As it is pretty simply change, I don't think we will need separate spec for that. Lets cover that in that nova's spec only.

tags: added: rfe-approved
Changed in neutron:
importance: Undecided → Wishlist
status: New → Confirmed
tags: removed: rfe
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
Yongli He (yongli-he) wrote :

This implementation could achieve by changing the POC code to meet the Spec requirements.

POC: https://review.opendev.org/q/topic:bp/sriov-smartnic-support

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Revision history for this message
Yongli He (yongli-he) wrote :

Per spec: https://review.opendev.org/c/openstack/nova-specs/+/742785/14/specs/wallaby/approved/support-sriov-smartnic.rst#191

In the neutron part, we need a new vnic_type: cyborg

"vnic_type":"cyborg".

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

Changed in neutron:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.