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/654957 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d080a805c17 8f227a9e2469d64 daaa763b75289c
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit d080a805c178f22 7a9e2469d64daaa 763b75289c
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