Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!36Performance Evaluation Framework + Helper Tools
...@@ -116,9 +116,10 @@ class ServiceServiceServicerImpl(ServiceServiceServicer): ...@@ -116,9 +116,10 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
else: else:
pathcomp_request.k_disjoint_path.num_disjoint = num_disjoint_paths 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))) LOGGER.info('pathcomp_request={:s}'.format(grpc_message_to_json_string(pathcomp_request)))
pathcomp = PathCompClient()
pathcomp_reply = pathcomp.Compute(pathcomp_request) pathcomp_reply = pathcomp.Compute(pathcomp_request)
pathcomp.close()
LOGGER.info('pathcomp_reply={:s}'.format(grpc_message_to_json_string(pathcomp_reply))) 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 # Feed TaskScheduler with this path computation reply. TaskScheduler identifies inter-dependencies among
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment