neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb
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
..
__init__.py [OVN] Import ovsdb related code 2019-12-04 13:18:50 +00:00
api.py [OVN] Import ovsdb related code 2019-12-04 13:18:50 +00:00
commands.py Work around potential double row.delete() call 2019-12-19 09:18:36 -06:00
impl_idl_ovn.py [OVN] Import ovsdb related code (part 2) 2019-12-09 10:07:28 +00:00
maintenance.py Ensure we don't pass empty addresses to lsp_set_addresses 2020-01-23 21:55:26 +00:00
ovn_client.py Centralize traffic when LB and member has FIP 2020-02-14 12:53:35 +00:00
ovn_db_sync.py [OVN] Migrate the OVN mech driver 2020-01-08 13:24:26 +00:00
ovsdb_monitor.py [OVN] Import ovsdb related code (part 2) 2019-12-09 10:07:28 +00:00
worker.py [OVN] Import ovsdb related code 2019-12-04 13:18:50 +00:00