Loading src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py +3 −1 Original line number Diff line number Diff line Loading @@ -126,13 +126,15 @@ class KDisjointPathAlgorithm(_Algorithm): return new_link_list def execute(self, dump_request_filename: Optional[str] = None, dump_reply_filename: Optional[str] = None) -> None: algorithm = KShortestPathAlgorithm(Algorithm_KShortestPath(k_inspection=10, k_return=1)) algorithm = KShortestPathAlgorithm(Algorithm_KShortestPath(k_inspection=0, k_return=1)) algorithm.sync_paths = True algorithm.device_list = self.device_list algorithm.device_name_mapping = self.device_name_mapping algorithm.device_uuid_mapping = self.device_uuid_mapping algorithm.device_dict = self.device_dict algorithm.endpoint_dict = self.endpoint_dict algorithm.endpoint_name_mapping = self.endpoint_name_mapping algorithm.endpoint_uuid_mapping = self.endpoint_uuid_mapping algorithm.link_list = self.link_list algorithm.link_dict = self.link_dict algorithm.endpoint_to_link_dict = self.endpoint_to_link_dict Loading Loading
src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py +3 −1 Original line number Diff line number Diff line Loading @@ -126,13 +126,15 @@ class KDisjointPathAlgorithm(_Algorithm): return new_link_list def execute(self, dump_request_filename: Optional[str] = None, dump_reply_filename: Optional[str] = None) -> None: algorithm = KShortestPathAlgorithm(Algorithm_KShortestPath(k_inspection=10, k_return=1)) algorithm = KShortestPathAlgorithm(Algorithm_KShortestPath(k_inspection=0, k_return=1)) algorithm.sync_paths = True algorithm.device_list = self.device_list algorithm.device_name_mapping = self.device_name_mapping algorithm.device_uuid_mapping = self.device_uuid_mapping algorithm.device_dict = self.device_dict algorithm.endpoint_dict = self.endpoint_dict algorithm.endpoint_name_mapping = self.endpoint_name_mapping algorithm.endpoint_uuid_mapping = self.endpoint_uuid_mapping algorithm.link_list = self.link_list algorithm.link_dict = self.link_dict algorithm.endpoint_to_link_dict = self.endpoint_to_link_dict Loading