Merge "Fix deletion of subnet_id from pd_subnets" into stable/queens
This commit is contained in:
commit
89b77744fa
|
@ -575,7 +575,7 @@ class RouterInfo(object):
|
||||||
for subnet in p['subnets']:
|
for subnet in p['subnets']:
|
||||||
if ipv6_utils.is_ipv6_pd_enabled(subnet):
|
if ipv6_utils.is_ipv6_pd_enabled(subnet):
|
||||||
self.agent.pd.disable_subnet(self.router_id, subnet['id'])
|
self.agent.pd.disable_subnet(self.router_id, subnet['id'])
|
||||||
del self.pd_subnets[subnet['id']]
|
self.pd_subnets.pop(subnet['id'], None)
|
||||||
|
|
||||||
for p in new_ports:
|
for p in new_ports:
|
||||||
self.internal_network_added(p)
|
self.internal_network_added(p)
|
||||||
|
|
Loading…
Reference in New Issue