[VOL-4442] grpc streaming connection monitoring
Change-Id: Id787e94cf28745d36e72f8ed2f5c316312714db4
diff --git a/protos/voltha_protos/olt_inter_adapter_service.proto b/protos/voltha_protos/olt_inter_adapter_service.proto
index 68dbb6f..6ebad57 100755
--- a/protos/voltha_protos/olt_inter_adapter_service.proto
+++ b/protos/voltha_protos/olt_inter_adapter_service.proto
@@ -12,9 +12,10 @@
import "voltha_protos/health.proto";
service OltInterAdapterService {
- // GetHealthStatus is used by an OltInterAdapterService client to verify connectivity
- // to the gRPC server hosting the OltInterAdapterService service
- rpc GetHealthStatus(common.Connection) returns (health.HealthStatus);
+ // GetHealthStatus is used by a OltInterAdapterService client to detect a connection
+ // lost with the gRPC server hosting the OltInterAdapterService service
+ rpc GetHealthStatus(stream common.Connection) returns (stream health.HealthStatus);
+
rpc ProxyOmciRequest(inter_adapter.OmciMessage) returns (google.protobuf.Empty);
rpc ProxyOmciRequests(inter_adapter.OmciMessages) returns (google.protobuf.Empty);