commit e7bbad059199e8ef1d1dcc32070e273fd06d08b7
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue May 30 11:45:37 2023 +0200
[OVN] Prevent Trunk creation/deletion with parent port bound
This patch imitates the ML2/OVS Trunk driver behaviour. When the
trunk parent port is bound:
* A new trunk cannot be created using this parent port.
* If the port is assigned as parent port of a trunk, this
trunk cannot be deleted.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/887606 /opendev. org/openstack/ neutron/ commit/ e7bbad059199e8e f1d1dcc32070e27 3fd06d08b7
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit e7bbad059199e8e f1d1dcc32070e27 3fd06d08b7
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue May 30 11:45:37 2023 +0200
[OVN] Prevent Trunk creation/deletion with parent port bound
This patch imitates the ML2/OVS Trunk driver behaviour. When the
trunk parent port is bound:
* A new trunk cannot be created using this parent port.
* If the port is assigned as parent port of a trunk, this
trunk cannot be deleted.
Conflicts:
neutron/ db/l3_dvr_ db.py
neutron/ common/ utils.py
neutron/ services/ trunk/drivers/ ovn/trunk_ driver. py
neutron/ services/ trunk/plugin. py
neutron/ tests/unit/ db/test_ l3_dvr_ db.py
neutron/ tests/unit/ services/ trunk/test_ plugin. py
Closes-Bug: #2022059 224cbb4b3c3cec3 cfa49b795fd 8130cdac73a88d3 88f52c7824) d7cc609cf8379de 83380324e3) cf40bb87eb32789 c463401338) 8d3fe51c84b062b 153d97ce68) 873763c7aa9340a d10cc51192)
Change-Id: I8cfa7e67524a42
(cherry picked from commit 833a6d82cd70554
(cherry picked from commit 2f48c24d412ee07
(cherry picked from commit 0d499808f1f3ec6
(cherry picked from commit 539961b4b956358
(cherry picked from commit 0026b75babc4e8b