commit 792f2c65ec34b63ae8037a5328b7622320c4e1c4
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 28 09:34:05 2023 +0000
[sqlalchemy-20] Add reader context to ``VPNPluginDb`` get methods
The following methods are now called from inside a reader context:
* ``VPNPluginDb.get_ikepolicy``
* ``VPNPluginDb.get_ikepolicies``
* ``VPNPluginDb.get_ipsecpolicy``
* ``VPNPluginDb.get_ipsecpolicies``
* ``VPNPluginDb._get_vpnservice``
* ``VPNPluginDb.get_vpnservice``
* ``VPNPluginDb.get_vpnservices``
* ``VPNPluginDb.get_endpoint_group``
* ``VPNPluginDb.get_endpoint_groups``
This patch is also adding the writer context to
``BaseIPsecVPNDriver.create_vpnservice``.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron- vpnaas/ +/875626 /opendev. org/openstack/ neutron- vpnaas/ commit/ 792f2c65ec34b63 ae8037a5328b762 2320c4e1c4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 792f2c65ec34b63 ae8037a5328b762 2320c4e1c4
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 28 09:34:05 2023 +0000
[sqlalchemy-20] Add reader context to ``VPNPluginDb`` get methods
The following methods are now called from inside a reader context: get_ikepolicy` ` get_ikepolicies `` get_ipsecpolicy `` get_ipsecpolici es`` _get_vpnservice `` get_vpnservice` ` get_vpnservices `` get_endpoint_ group`` get_endpoint_ groups` `
* ``VPNPluginDb.
* ``VPNPluginDb.
* ``VPNPluginDb.
* ``VPNPluginDb.
* ``VPNPluginDb.
* ``VPNPluginDb.
* ``VPNPluginDb.
* ``VPNPluginDb.
* ``VPNPluginDb.
This patch is also adding the writer context to VPNDriver. create_ vpnservice` `.
``BaseIPsec
Closes-Bug: #2008767 13a53cd71a366b9 46aa57ab042
Closes-Bug: #2008001
Change-Id: Ic22eb356c31577