Merge "ovn: Consider all router ports in is_lsp_router_port()" into stable/ussuri

This commit is contained in:
Zuul 2021-09-02 16:35:24 +00:00 committed by Gerrit Code Review
commit ae66be312a
1 changed files with 1 additions and 2 deletions

View File

@ -360,8 +360,7 @@ def sort_ips_by_version(addresses):
def is_lsp_router_port(port):
return port.get('device_owner') in [const.DEVICE_OWNER_ROUTER_INTF,
const.DEVICE_OWNER_ROUTER_GW]
return port.get('device_owner') in const.ROUTER_PORT_OWNERS
def get_lrouter_ext_gw_static_route(ovn_router):