Merge "Switch to new engine facade in L3 router's driver_controller module"
This commit is contained in:
commit
ba43572b89
@ -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