bgp: fix best_path_change_handler for best_path_lost

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2014-06-22 17:18:32 +09:00
parent 9b0754944f
commit 3aeeffa48c

View File

@ -37,8 +37,9 @@ class IPv4Dest(Destination, NonVrfPathProcessingMixin):
ROUTE_FAMILY = RF_IPv4_UC
def _best_path_lost(self):
old_best_path = self._best_path
NonVrfPathProcessingMixin._best_path_lost(self)
self._core_service._signal_bus.best_path_changed(self)
self._core_service._signal_bus.best_path_changed(old_best_path)
def _new_best_path(self, best_path):
NonVrfPathProcessingMixin._new_best_path(self, best_path)