Comment 9 for bug 1930294

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/801339
Committed: https://opendev.org/openstack/neutron/commit/d8f1f1118d3cde0b5264220836a250f14687893e
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit d8f1f1118d3cde0b5264220836a250f14687893e
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu May 27 10:28:13 2021 +0000

    Set "floatingip.fixed_port" as viewonly

    Set "floatingip.fixed_port" attribute as
    viewonly. According to [1], "the originating relationship for a
    particular state change will not produce state changes within the
    viewonly relationship". That means any change on any of those ports
    won't change the backref and won't affect "floatingip" object.

    Closes-Bug: #1930294

    [1]https://docs.sqlalchemy.org/en/14/orm/relationship_api.html

    Change-Id: I202a12f82f70b1094cdb986ba404f396d5e0e427
    (cherry picked from commit a98fe51b83440693f8acf17b157c38a944ef65ef)