mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-24 18:11:24 +01:00
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:
parent
9b0754944f
commit
3aeeffa48c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user