[RFE] Add a port extension to set/define the switchdev capabilities
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Wishlist
|
Rodolfo Alonso |
Bug Description
The aim of this RFE is to decouple the port binding profile update and the ability of a user to set the "switchdev" flag on a port.
Since [1], a user is able to set "{"capabilities": ["switchdev"]}" on the port binding profile in order to define this port as compatible with the Ethernet switch device driver model (switchdev) [2]. In other words, to be able to use a VF of a NIC with offloading capabilities. This is currently used in ML2/OVS and ML2/OVN to offload the OpenFlow rules on the NIC hardware.
The problem resides on the need of changing the port binding profile from the Neutron side:
* The port binding profile is a port blob that should be updated only from Nova.
* By default, this is allowed only to admin users, by is configurable via policy config. That could introduce security issues is a non-admin user can change any port binding profile, even if that is restricted to his/her own project.
This RFE will require a spec describing the needed changes on the API side, the port object and RPC blob transmitted (needed by Nova).
[1]https:/
[2]https:/
Changed in neutron: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
tags: | added: rfe |
Changed in neutron: | |
status: | New → Won't Fix |
Related fix proposed to branch: master /review. opendev. org/c/openstack /neutron- tempest- plugin/ +/854369
Review: https:/