neutron/doc/source
Maciej Józefczyk ab32d7ae64 [OVN] Allow IP allocation with different segments for OVN service ports
OVN creates localport [1] for each network that has metadata
and allocate IP address from subnet within this network that has
DHCP enabled. The traffic from this port will never go outside
the chassis.

While using multiple segments with subnet linked to each segment
OVN needs to create an allocation of IP address for each of those
subnets [2] in order to generate data for OVN NBDB IPv4 DHCP Options.

The change [3] started to validate that condition, while multiple
IP addresses from different segments are tried to be allocated on
one port. We can skip this for OVN Metadata port, because there
is no reason to prevent those kind of allocation for OVN.

For stable branches we decide if a port is distributed or not
by looking for DEVICE_OWNER_DHCP device owner  and `ovn` device_id,
instead DEVICE_OWNER_DISTRIBUTED device owner.

Conflicts:
   neutron/db/ipam_backend_mixin.py
   neutron/tests/unit/db/test_ipam_pluggable_backend.py

[1] http://www.openvswitch.org/support/dist-docs/ovn-architecture.7.html
[2] 5f42488a9a/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py (L2279)
[3] https://review.opendev.org/#/c/709444/

Change-Id: Ib51cde89ed873f48db4daebc27a0980da9cc0f19
Closes-Bug: 1871608
(cherry picked from commit 8d1512afb0)
2020-07-27 11:49:18 +00:00
..
_static Neutron Feature Classification 2017-03-15 23:31:58 +00:00
admin [OVN] Allow IP allocation with different segments for OVN service ports 2020-07-27 11:49:18 +00:00
cli Add upgrade check for NIC Switch agent 2019-12-01 11:58:16 +02:00
configuration Merge networking-ovn documentation into neutron 2020-02-13 18:54:15 +09:00
contributor Merge "[OVN] Stop using neutron_tempest_plugin in OVN singlenode job" into stable/ussuri 2020-07-16 18:38:33 +00:00
feature_classification Replace support matrix ext with common library 2020-01-17 11:10:17 +01:00
install Merge networking-ovn documentation into neutron 2020-02-13 18:54:15 +09:00
ovn [OVN] Enhance port's extra DHCP options support 2020-06-03 13:21:39 +01:00
reference PDF documentation build 2019-08-26 02:50:58 +09:00
_intro.rst PDF documentation build 2019-08-26 02:50:58 +09:00
conf.py Merge networking-ovn documentation into neutron 2020-02-13 18:54:15 +09:00
index.rst Merge networking-ovn documentation into neutron 2020-02-13 18:54:15 +09:00
pdf-index.rst Merge networking-ovn documentation into neutron 2020-02-13 18:54:15 +09:00