neutron-vpnaas/neutron_vpnaas/tests/unit/services/vpn
Bodo Petermann 740bf12dfa Fix creating ipsec site connection
Fixes a RuntimeError "Method remove_reservation cannot be called
within a transaction" while creating an ipsec site connection.
To avoid the error the service driver now gets the vpnservice
(to get the router_id) inside a CONTEXT_READER wrapper.

Closes-Bug: #1978571
Change-Id: I6552816db8a596a933365dc9de481d8c32371f1c
2022-06-14 18:54:40 +02:00
..
common Using unittest.mock instead of mock 2020-04-02 01:56:51 +00:00
device_drivers Migrate to neutron-lib released API definition for VPNaaS APIs 2022-05-23 11:42:13 -04:00
service_drivers Fix creating ipsec site connection 2022-06-14 18:54:40 +02:00
__init__.py VPNaaS: Advanced Services split - unit tests 2014-12-14 14:23:58 -05:00
test_plugin.py Using unittest.mock instead of mock 2020-04-02 01:56:51 +00:00
test_vpn_service.py Migrate to neutron-lib released API definition for VPNaaS APIs 2022-05-23 11:42:13 -04:00