commit 7119f1babd23338768765be0d6aad62e15cbb82d
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.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/801337 /opendev. org/openstack/ neutron/ commit/ 7119f1babd23338 768765be0d6aad6 2e15cbb82d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 7119f1babd23338 768765be0d6aad6 2e15cbb82d
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.sqlalchem y.org/en/ 14/orm/ relationship_ api.html
Change-Id: I202a12f82f70b1 094cdb986ba404f 396d5e0e427 3f8acf17b157c38 a944ef65ef)
(cherry picked from commit a98fe51b8344069