Commit c62fe1bf authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp Frontend:

- Fix unit test K-Disjoint paths
parent 0f277da3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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