neutron/neutron/tests/unit/services
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
..
auto_allocate remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
conntrack_helper Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
l3_router Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
logapi Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
metering Retry creating iptables managers and adding metering rules 2019-07-13 16:10:19 +03:00
network_segment_range Fix error 500 during segment range creation 2019-04-05 10:26:36 +02:00
ovn_l3 Centralize traffic when LB and member has FIP 2020-02-14 12:53:35 +00:00
placement_report Locate RP-tree parent by hypervisor name 2019-12-10 10:21:53 +01:00
portforwarding Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
qos [OVN] Update QoS related code from networking-ovn 2020-02-06 10:54:26 +08:00
revisions Use created subnet in port generator in "test_port_ip_update_revises" 2019-05-14 10:05:17 +00:00
trunk Set binding profile directly from OVNTrunkDriver (redo cont.) 2020-01-09 14:23:28 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_provider_configuration.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00