Merge "Exclude router gw subnet ports from port list while port delete."

This commit is contained in:
Zuul 2022-01-17 17:44:39 +00:00 committed by Gerrit Code Review
commit a9730576b1
1 changed files with 2 additions and 1 deletions

View File

@ -270,7 +270,8 @@ class L3_DVRsch_db_mixin(l3agent_sch_db.L3AgentSchedulerDbMixin):
def _check_for_rtr_serviceable_ports(
self, admin_context, router_id, port_host):
subnet_ids = self.get_subnet_ids_on_router(admin_context,
router_id)
router_id,
keep_gateway_port=False)
return self._check_dvr_serviceable_ports_on_host(
admin_context, port_host, subnet_ids)