khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | |
| 3 | option go_package = "github.com/opencord/voltha-protos/v5/go/olt_inter_adapter_service"; |
| 4 | option java_package = "org.opencord.voltha.olt_inter_adapter_service"; |
| 5 | option java_outer_classname = "VolthaOltInterAdapterService"; |
| 6 | |
| 7 | package olt_inter_adapter_service; |
| 8 | |
khenaidoo | 5cb0d40 | 2021-12-08 14:09:16 -0500 | [diff] [blame] | 9 | import "voltha_protos/common.proto"; |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 10 | import "google/protobuf/empty.proto"; |
| 11 | import "voltha_protos/inter_adapter.proto"; |
| 12 | import "voltha_protos/health.proto"; |
| 13 | |
| 14 | service OltInterAdapterService { |
khenaidoo | 257f319 | 2021-12-15 16:46:37 -0500 | [diff] [blame] | 15 | // GetHealthStatus is used by a OltInterAdapterService client to detect a connection |
| 16 | // lost with the gRPC server hosting the OltInterAdapterService service |
| 17 | rpc GetHealthStatus(stream common.Connection) returns (stream health.HealthStatus); |
| 18 | |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 19 | |
| 20 | rpc ProxyOmciRequest(inter_adapter.OmciMessage) returns (google.protobuf.Empty); |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 21 | rpc ProxyOmciRequests(inter_adapter.OmciMessages) returns (google.protobuf.Empty); |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 22 | rpc GetTechProfileInstance(inter_adapter.TechProfileInstanceRequestMessage) returns (inter_adapter.TechProfileDownloadMessage); |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 23 | } |