Cleaning up TODO items
removing TODO on line 162 of chameleon/grpc_client
and entering it into backlog as CORD-815
removing TODO on line 135 of cli/utils.py
and entering it into backlog as CORD-816
removing TODO on line 155 of cli/utils.py
and entering it into backlog as CORD-817
removing TODO on line 94 of common/utils/consulhelpers.py
and entering it into backlog as CORD-818
Change-Id: I736ea678b16c9b0e85a3cf0aabe96da19caae64d
diff --git a/grpc_client/grpc_client.py b/grpc_client/grpc_client.py
index 9b68912..234f24a 100644
--- a/grpc_client/grpc_client.py
+++ b/grpc_client/grpc_client.py
@@ -159,8 +159,8 @@
service_name=service_name)
yield asleep(1.0)
- # pick a random entry
- # TODO should we prefer local IP addresses? Probably.
+ # pick local addresses when resolving a service via consul
+ # see CORD-815 (https://jira.opencord.org/browse/CORD-815)
service = services[randint(0, len(services) - 1)]
endpoint = '{}:{}'.format(service['ServiceAddress'],