commit edd92ce6b9b36da5a7bc4e2569429646adf696d8
Author: Slawek Kaplonski <email address hidden>
Date: Sat Oct 1 22:06:11 2022 +0200
Allow to pass EUI64 IP address as fixed ip for the port
When port with IP address from the auto allocation subnet (SLAAC or
dhcp_stateless) is created or updated and fixed IP address is specified,
Neutron will fail as in case of such subnets IP address is assigned
automatically based on the subnet's prefix and port's MAC address.
But in case when given IP address is actually correct EUI64 generated IP
address (the same as Neutron would generate for that port) there is no
need to raise an exception and fail request.
Additionally this patch fixes imports sections in the
ipam_pluggable_backend module.
Closes-bug: #1991398
Change-Id: Iaee5608c9581228a83f7ad75dbf2cc31dafaa9ea
(cherry picked from commit d7b44f7218ff665045adb923b1aa92c35b371af9)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/860325 /opendev. org/openstack/ neutron/ commit/ edd92ce6b9b36da 5a7bc4e25694296 46adf696d8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit edd92ce6b9b36da 5a7bc4e25694296 46adf696d8
Author: Slawek Kaplonski <email address hidden>
Date: Sat Oct 1 22:06:11 2022 +0200
Allow to pass EUI64 IP address as fixed ip for the port
When port with IP address from the auto allocation subnet (SLAAC or
dhcp_stateless) is created or updated and fixed IP address is specified,
Neutron will fail as in case of such subnets IP address is assigned
automatically based on the subnet's prefix and port's MAC address.
But in case when given IP address is actually correct EUI64 generated IP
address (the same as Neutron would generate for that port) there is no
need to raise an exception and fail request.
Additionally this patch fixes imports sections in the pluggable_ backend module.
ipam_
Closes-bug: #1991398 8a83f7ad75dbf2c c31dafaa9ea 045adb923b1aa92 c35b371af9)
Change-Id: Iaee5608c958122
(cherry picked from commit d7b44f7218ff665