Merge "NSX_V3: ensure that the correct router attributes are read"

This commit is contained in:
Zuul 2018-01-09 14:58:42 +00:00 committed by Gerrit Code Review
commit d18e17af8f
1 changed files with 1 additions and 1 deletions

View File

@ -3309,8 +3309,8 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
context,
router['id'],
{'router': {az_def.AZ_HINTS: az_hints}})
router_db = self._get_router(context, r['id'])
with db_api.context_manager.writer.using(context):
router_db = self._get_router(context, r['id'])
self._process_extra_attr_router_create(context, router_db, r)
# Create backend entries here in case neutron DB exception
# occurred during super.create_router(), which will cause