[OVS] OVS agent should not plug/unplug smartNIC ports

Bug #1860338 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
Wishlist
Unassigned

Bug Description

Related to https://bugs.launchpad.net/neutron/+bug/1785608

OVS agent should not deal with L1 operations (port plug/unplug). Those operations should be done by os-vif. The logic implemented in [1] should belongs to os-vif/vif_plug_ovs.

[1] https://review.opendev.org/#/c/586252/46/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py

Revision history for this message
Lajos Katona (lajos-katona) wrote :

isn't this one related to https://review.opendev.org/702806 ?

tags: added: ovs-agent
tags: added: os-vif
Revision history for this message
Lajos Katona (lajos-katona) wrote :

I set it to whislist as no functional problem is seen now, it is a design flaw which should be fixed to keep neutron design integrity, as I see.
Perhaps a possible drivers-meeting topic?

Changed in neutron:
importance: Undecided → Wishlist
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello Lajos:

No, this patch [1] is doing the opposite: is calling plug/unplug from the OVS agent. And I'm also talking about [2]. This patch introduced the method "treat_smartnic_port" to make the L1 operations from the OVS itself. The OVS agent is the agent of the Open vSwitch ML2 plugin and thus should take care of L2 (and L3/L4) operations, not L1.

[1] https://review.opendev.org/702806
[2] https://review.opendev.org/#/c/586252/

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

Rodolfo, do You think we should revert https://review.opendev.org/#/c/586252/ now and move this to os-vif?

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.