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/onu_inter_adapter_service"; |
| 4 | option java_package = "org.opencord.voltha.onu_inter_adapter_service"; |
| 5 | option java_outer_classname = "VolthaOnuInterAdapterService"; |
| 6 | |
| 7 | package onu_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 OnuInterAdapterService { |
khenaidoo | 257f319 | 2021-12-15 16:46:37 -0500 | [diff] [blame] | 15 | // GetHealthStatus is used by a OnuInterAdapterService client to detect a connection |
| 16 | // lost with the gRPC server hosting the OnuInterAdapterService service |
| 17 | rpc GetHealthStatus(stream common.Connection) returns (stream health.HealthStatus); |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 18 | |
| 19 | rpc OnuIndication(inter_adapter.OnuIndicationMessage) returns (google.protobuf.Empty); |
| 20 | rpc OmciIndication(inter_adapter.OmciMessage) returns (google.protobuf.Empty); |
| 21 | rpc DownloadTechProfile(inter_adapter.TechProfileDownloadMessage) returns (google.protobuf.Empty); |
| 22 | rpc DeleteGemPort(inter_adapter.DeleteGemPortMessage) returns (google.protobuf.Empty); |
| 23 | rpc DeleteTCont(inter_adapter.DeleteTcontMessage) returns (google.protobuf.Empty); |
| 24 | } |