during get_auto_allocated_topology no extension attributes are send during router-create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
At https:/
*******
router_args = {
'name': 'auto_allocated
l3.
'tenant_id': tenant_id,
'admin_
}
router = None
attached_subnets = []
try:
router = self.l3_
context, {'router': router_args})
*******
The router_args send to the l3 plugin are missing extension attributes if router extensions exist.
The fix is to add these before calling .create_router:
*******
from neutron.
router_args = plugin_
router = self.l3_
context, {'router': router_args})
*******
I thought the DB code took care of this? At the end of _make_router_ dict(), called from create_router():
if process_extensions:
resource_ extend. apply_funcs( l3.ROUTERS, res, router)
I'm sure I'm missing something...