commit df5cb326ed1a3eb9b6ec10ed3d375551d6c36cb9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Oct 14 18:37:43 2023 +0000
Remove any IPAM allocation if port bulk creation fails
During the port bulk creation, if an IPAM allocation fails (for
example, if the IP address is outside of the subnet CIDR), the
other IPAM allocations already created are deleted before raising
the exception.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/898717 /opendev. org/openstack/ neutron/ commit/ df5cb326ed1a3eb 9b6ec10ed3d3755 51d6c36cb9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit df5cb326ed1a3eb 9b6ec10ed3d3755 51d6c36cb9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Oct 14 18:37:43 2023 +0000
Remove any IPAM allocation if port bulk creation fails
During the port bulk creation, if an IPAM allocation fails (for
example, if the IP address is outside of the subnet CIDR), the
other IPAM allocations already created are deleted before raising
the exception.
Conflicts: tests/unit/ plugins/ ml2/test_ plugin. py
neutron/
Closes-Bug: #2039550 c03f80874bfa1fb 8bdaff8bd2c d8d60453074efde f9657f416e) cb6bec227ddbd56 a16fffbcf1)
Change-Id: I7fd6e38016d099
(cherry picked from commit 71a7abb498fded6
(cherry picked from commit a4c03671f2b8784