Able to change vnic type on a bound port

Bug #2033090 reported by Jakub Libosvar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
In Progress
High
Jakub Libosvar

Bug Description

When a port is bound, it's still possible to change its vnic type. This doesn't make sense and the operation should not be allowed.

Changed in neutron:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/892815

Changed in neutron:
status: New → In Progress
Revision history for this message
Lajos Katona (lajos-katona) wrote :

As I wrote on the review it can be something to discuss, but currently PUT is allowed on the API:

https://opendev.org/openstack/neutron-lib/src/branch/master/neutron_lib/api/definitions/portbindings_extended.py#L87

https://opendev.org/openstack/neutron-lib/src/branch/master/neutron_lib/api/definitions/portbindings.py#L187

so I would add a doc entry (perhaps to the api-ref at least) that PUT works only for UNBOUND ports

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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