diff --git a/ovn_bgp_agent/drivers/openstack/nb_ovn_bgp_driver.py b/ovn_bgp_agent/drivers/openstack/nb_ovn_bgp_driver.py index 1f6df71a..46a5b309 100644 --- a/ovn_bgp_agent/drivers/openstack/nb_ovn_bgp_driver.py +++ b/ovn_bgp_agent/drivers/openstack/nb_ovn_bgp_driver.py @@ -151,7 +151,9 @@ class NBOVNBGPDriver(driver_api.AgentDriverBase): watcher.OVNLBCreateEvent(self), watcher.OVNLBDeleteEvent(self), watcher.OVNPFCreateEvent(self), - watcher.OVNPFDeleteEvent(self)} + watcher.OVNPFDeleteEvent(self), + watcher.ChassisRedirectCreateEvent(self), + watcher.ChassisRedirectDeleteEvent(self)} if CONF.exposing_method == constants.EXPOSE_METHOD_VRF: # For vrf we require more information on the logical_switch @@ -161,9 +163,7 @@ class NBOVNBGPDriver(driver_api.AgentDriverBase): events.add(watcher.LocalnetCreateDeleteEvent(self)) if self._expose_tenant_networks: - events.update({watcher.ChassisRedirectCreateEvent(self), - watcher.ChassisRedirectDeleteEvent(self), - watcher.LogicalSwitchPortSubnetAttachEvent(self), + events.update({watcher.LogicalSwitchPortSubnetAttachEvent(self), watcher.LogicalSwitchPortSubnetDetachEvent(self)}) if CONF.advertisement_method_tenant_networks == 'host': events.update({