Merge "Fix deletion of subnet_id from pd_subnets" into stable/train
This commit is contained in:
commit
b45a7c91a4
|
@ -624,7 +624,7 @@ class RouterInfo(BaseRouterInfo):
|
|||
for subnet in p['subnets']:
|
||||
if ipv6_utils.is_ipv6_pd_enabled(subnet):
|
||||
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:
|
||||
self.internal_network_added(p)
|
||||
|
|
Loading…
Reference in New Issue