Skip to content

Commit acb98ac

Browse files
authored
Merge pull request #234 from stackhpc/upstream/2025.1-2025-10-13
Synchronise 2025.1 with upstream
2 parents a80d5cd + 6cd92e3 commit acb98ac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,10 @@ def __init__(self, driver):
693693
self.event_name = 'HAChassisGroupRouterEvent'
694694

695695
def match_fn(self, event, row, old):
696-
if (ovn_const.OVN_ROUTER_ID_EXT_ID_KEY in row.external_ids or
697-
hasattr(old, 'ha_chassis')):
696+
if ovn_const.OVN_ROUTER_ID_EXT_ID_KEY not in row.external_ids:
697+
# This is not a router "HA_Chassis_Group".
698+
return False
699+
if hasattr(old, 'ha_chassis'):
698700
# "HA_Chassis_Group" has been assigned to a router or there are
699701
# changes in the "ha_chassis" list.
700702
return True

0 commit comments

Comments
 (0)