commit a4c03671f2b8784cb6bec227ddbd56a16fffbcf1
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/ +/898715 /opendev. org/openstack/ neutron/ commit/ a4c03671f2b8784 cb6bec227ddbd56 a16fffbcf1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit a4c03671f2b8784 cb6bec227ddbd56 a16fffbcf1
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)
Change-Id: I7fd6e38016d099
(cherry picked from commit 71a7abb498fded6