commit 6226fa9fd63538c698e6d41a01bc39c3da94ba6f
Author: Fernando Royo <email address hidden>
Date: Fri Jan 13 12:22:08 2023 +0100
Allow multiple IPv6 ports on router from same network ml2/ovs+dvr
On a recent change [1], some additional checks was added to avoid
ports overlapping cidrs on a router. On this change was also added
a check to do not attach more than one port IPv6 from same network,
but this check need to allow multiple ports when a deployment is
done using ml2/ovs+xvlan+dvr and the router has an external gateway
configured, because two ports are added:
- one with device_owner as network:router_interface_distributed
- another one with device_owner as network:router_centralized_snat
Also an small improvement is done for just run this check over the
existing ports on the router for the same network_id.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/870657 /opendev. org/openstack/ neutron/ commit/ 6226fa9fd63538c 698e6d41a01bc39 c3da94ba6f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit 6226fa9fd63538c 698e6d41a01bc39 c3da94ba6f
Author: Fernando Royo <email address hidden>
Date: Fri Jan 13 12:22:08 2023 +0100
Allow multiple IPv6 ports on router from same network ml2/ovs+dvr
On a recent change [1], some additional checks was added to avoid
ports overlapping cidrs on a router. On this change was also added
a check to do not attach more than one port IPv6 from same network,
but this check need to allow multiple ports when a deployment is
done using ml2/ovs+xvlan+dvr and the router has an external gateway
configured, because two ports are added:
- one with device_owner as network: router_ interface_ distributed router_ centralized_ snat
- another one with device_owner as network:
Also an small improvement is done for just run this check over the
existing ports on the router for the same network_id.
[1] https:/ /review. opendev. org/c/openstack /neutron/ +/859143
Closes-Bug: #2002800 42a3180dfd15e3a 41a8e085284 c4e30069ad76f9e 1409ea1c0a)
Change-Id: I765a7b41e7e84f
(cherry picked from commit e2097157bba6f18