def _new_best_path(self, best_path): NonVrfPathProcessingMixin._new_best_path(self, best_path) self._core_service._signal_bus.best_path_changed(best_path, False) # Extranet feature requires that we import new best path into VRFs. tm = self._core_service.table_manager tm.import_single_vpn_path_to_all_vrfs(self._best_path, self._best_path.get_rts())
def _new_best_path(self, best_path): NonVrfPathProcessingMixin._new_best_path(self, best_path) # Extranet feature requires that we import new best path into VRFs. tm = self._core_service.table_manager tm.import_single_vpn_path_to_all_vrfs(self._best_path, self._best_path.get_rts())
def _best_path_lost(self): old_best_path = self._best_path NonVrfPathProcessingMixin._best_path_lost(self) self._core_service._signal_bus.best_path_changed(old_best_path, True) # Best-path might have been imported into VRF tables, we have to # withdraw from them, if the source is a peer. if old_best_path: withdraw_clone = old_best_path.clone(for_withdrawal=True) tm = self._core_service.table_manager tm.import_single_vpn_path_to_all_vrfs(withdraw_clone, path_rts=old_best_path.get_rts())
def _best_path_lost(self): old_best_path = self._best_path NonVrfPathProcessingMixin._best_path_lost(self) # Best-path might have been imported into VRF tables, we have to # withdraw from them, if the source is a peer. if old_best_path: withdraw_clone = old_best_path.clone(for_withdrawal=True) tm = self._core_service.table_manager tm.import_single_vpn_path_to_all_vrfs( withdraw_clone, path_rts=old_best_path.get_rts())
def _new_best_path(self, best_path): NonVrfPathProcessingMixin._new_best_path(self, best_path) self._core_service._signal_bus.best_path_changed(best_path, False)
def _best_path_lost(self): old_best_path = self._best_path NonVrfPathProcessingMixin._best_path_lost(self) self._core_service._signal_bus.best_path_changed(old_best_path, True)
def _new_best_path(self, best_path): NonVrfPathProcessingMixin._new_best_path(self, best_path) self._core_service._signal_bus.best_path_changed(best_path)
def _best_path_lost(self): NonVrfPathProcessingMixin._best_path_lost(self) self._core_service._signal_bus.best_path_changed(self)
def _best_path_lost(self): NonVrfPathProcessingMixin._best_path_lost(self)
def _new_best_path(self, new_best_path): NonVrfPathProcessingMixin._new_best_path(self, new_best_path)