Move subnet postcommit out of transaction for bulk create
For auto-address IPv6 subnets postcommit has update port action
if the net already has ports. This results in
"cannot be called within a transaction" error for bulk IPv6 subnet
create.
Closes-Bug: #1822582
Change-Id: Ia32ec4c11c0793e7df07dcce19c122b3c7f865e1
(cherry picked from commit 14c76d31814b8e696349a1c00ba65ef2919b48af)
Reviewed: https:/ /review. opendev. org/654956 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fd88d5c1aa6 8af30f311950864 5a423f90eb92e4
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit fd88d5c1aa68af3 0f3119508645a42 3f90eb92e4
Author: Oleg Bondarev <email address hidden>
Date: Fri Apr 19 17:00:22 2019 +0400
Move subnet postcommit out of transaction for bulk create
For auto-address IPv6 subnets postcommit has update port action
if the net already has ports. This results in
"cannot be called within a transaction" error for bulk IPv6 subnet
create.
Closes-Bug: #1822582 e7df07dcce19c12 2b3c7f865e1 96349a1c00ba65e f2919b48af)
Change-Id: Ia32ec4c11c0793
(cherry picked from commit 14c76d31814b8e6