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

Service component:

- added close to pathcomp compute request to enforce load balancing of requests
parent 4f6e6574
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -116,9 +116,10 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
            else:
                pathcomp_request.k_disjoint_path.num_disjoint = num_disjoint_paths

            pathcomp = PathCompClient()
            LOGGER.info('pathcomp_request={:s}'.format(grpc_message_to_json_string(pathcomp_request)))
            pathcomp = PathCompClient()
            pathcomp_reply = pathcomp.Compute(pathcomp_request)
            pathcomp.close()
            LOGGER.info('pathcomp_reply={:s}'.format(grpc_message_to_json_string(pathcomp_reply)))

            # Feed TaskScheduler with this path computation reply. TaskScheduler identifies inter-dependencies among