Switch to new engine facade in L3 router's driver_controller module
Partially-Implements blueprint: enginefacade-switch Change-Id: Ic11a3b1307ed3a3365d53bf5afda4b5cb6cb01d3
This commit is contained in:
parent
856cae4cf8
commit
3edca83f83
@ -190,7 +190,7 @@ class DriverController(object):
|
||||
router = self.l3_plugin.get_router(context, router_id)
|
||||
driver = self._attrs_to_driver(router)
|
||||
driver_name = driver.name
|
||||
with context.session.begin(subtransactions=True):
|
||||
with db_api.CONTEXT_WRITER.using(context):
|
||||
self._stm.add_resource_association(
|
||||
context, plugin_constants.L3,
|
||||
driver_name, router_id)
|
||||
|
Loading…
Reference in New Issue
Block a user