def _unsubscribe_router_delete_callback(self):
    registry.unsubscribe(self._check_lb_service_on_router, resources.ROUTER, events.BEFORE_DELETE)
    registry.unsubscribe(self._check_lb_service_on_router, resources.ROUTER_GATEWAY, events.BEFORE_DELETE)
    registry.unsubscribe(self._check_lb_service_on_router_interface, resources.ROUTER_INTERFACE, events.BEFORE_DELETE)
def _unsubscribe_router_delete_callback(self):
    registry.unsubscribe(self._check_lb_service_on_router, resources.ROUTER, events.BEFORE_DELETE)
    registry.unsubscribe(self._check_lb_service_on_router, resources.ROUTER_GATEWAY, events.BEFORE_DELETE)
    registry.unsubscribe(self._check_lb_service_on_router_interface, resources.ROUTER_INTERFACE, events.BEFORE_DELETE)