neutron/neutron/common
Maciej Józefczyk e2ab1636b0 Centralize traffic when LB and member has FIP
When Load Balancer and its member has FIP assigned
and environment is configured to use DVR the member
FIP needs to be centralized. It is current core OVN
limitation, that should be solved in [1].

This patch adds this mechanism to OVN Client and
OVN Octavia provider driver.

It covers cases:

1) FIP association on port that is a member of
   some LB - make it centralized.
2) FIP association on LB VIP - find a members
   FIPs and centralized them.
3) Add a member to LB that has FIP already
   configured - checks if a member has FIP
   and centralize it.
4) The reverse of each of the above cases.

In addition I needed to extend OVN LB member external_id
entry to add an information about member subnet_id
in order to easly track member port from mechanism OVN
driver.
That means I needed also to support both old and new
conventions. This patch adds also this code.

Old convention:
member_`member_id`_`ip_address`:`port`

New convention:
member_`member_id`_`ip_address`:`port`_`subnet_id`

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1793897

(Cherry-picked from networking-ovn 57ac38921efa6bbf0bc4a22950355256cc3ebe6d)

Related-Bug: #1860662

Change-Id: I254f0ac28f7585b699a8238e01ffb37dd70282ef
2020-02-14 12:53:35 +00:00
..
ovn Centralize traffic when LB and member has FIP 2020-02-14 12:53:35 +00:00
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_constants.py Canonicalize IPv6 ICMP protocol name in security groups 2019-05-24 20:05:48 -05:00
_deprecate.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
cache_utils.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
config.py Enable ovsdb debug messages in functional and fullstack 2020-01-29 17:11:44 +00:00
coordination.py Add a generic coordination lock mechanism 2019-06-06 09:56:58 +08:00
eventlet_utils.py Add 'is_available' function 2020-02-10 18:02:49 +00:00
ipv6_utils.py Adding check for IPv6 address in setup_controllers 2019-10-29 15:10:25 +00:00
profiler.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
utils.py Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00