Comment 4 for bug 2022059

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/887606
Committed: https://opendev.org/openstack/neutron/commit/e7bbad059199e8ef1d1dcc32070e273fd06d08b7
Submitter: "Zuul (22348)"
Branch: stable/wallaby

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.

    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
    Change-Id: I8cfa7e67524a42224cbb4b3c3cec3cfa49b795fd
    (cherry picked from commit 833a6d82cd705548130cdac73a88d388f52c7824)
    (cherry picked from commit 2f48c24d412ee07d7cc609cf8379de83380324e3)
    (cherry picked from commit 0d499808f1f3ec6cf40bb87eb32789c463401338)
    (cherry picked from commit 539961b4b9563588d3fe51c84b062b153d97ce68)
    (cherry picked from commit 0026b75babc4e8b873763c7aa9340ad10cc51192)