Implement the Floating IP association logic only in one single place,
L3_NAT_dbonly_mixin._update_fip_assoc(). The dictionary returned will
include a new key, "association_event", with values:
- None: there is no association event. The internal port does not
change.
- True: a new internal port is added to the FIP register. An
association event can imply a disassociation event if the FIP register
had an existing internal port.
- False: the previous internal port is removed and no one is added.
Reviewed: https:/ /review. opendev. org/680976 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1947fd65d22 bad286ffee98718 1d0c93772d1a85
Committed: https:/
Submitter: Zuul
Branch: master
commit 1947fd65d22bad2 86ffee987181d0c 93772d1a85
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Sep 9 10:58:46 2019 +0000
Implement Floating IP association logic only once
Implement the Floating IP association logic only in one single place, NAT_dbonly_ mixin._ update_ fip_assoc( ). The dictionary returned will event", with values:
L3_
include a new key, "association_
- None: there is no association event. The internal port does not
change.
- True: a new internal port is added to the FIP register. An
association event can imply a disassociation event if the FIP register
had an existing internal port.
- False: the previous internal port is removed and no one is added.
Change-Id: I775aee178cf56f 842b3c0a375eda0 1577840e227
Related-Bug: #1842327