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/inter_adapter"; |
| 4 | option java_package = "org.opencord.voltha.inter_adapter"; |
| 5 | |
| 6 | import "voltha_protos/common.proto"; |
| 7 | import "voltha_protos/voltha.proto"; |
| 8 | import "voltha_protos/tech_profile.proto"; |
| 9 | import "voltha_protos/openolt.proto"; |
| 10 | import "voltha_protos/device.proto"; |
| 11 | |
| 12 | package inter_adapter; |
| 13 | |
| 14 | |
| 15 | // Inter-Adapter messages |
| 16 | |
| 17 | message OmciMessage { |
| 18 | bytes message = 1; |
| 19 | common.ConnectStatus.Types connect_status = 2; |
| 20 | device.Device.ProxyAddress proxy_address = 3; |
| 21 | string parent_device_id = 4; |
| 22 | string child_device_id = 5; |
| 23 | } |
| 24 | |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 25 | message OmciMessages { |
| 26 | repeated bytes messages = 1; |
| 27 | common.ConnectStatus.Types connect_status = 2; |
| 28 | device.Device.ProxyAddress proxy_address = 3; |
| 29 | string parent_device_id = 4; |
| 30 | string child_device_id = 5; |
| 31 | } |
| 32 | |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 33 | message TechProfileDownloadMessage { |
| 34 | string device_id = 1; |
| 35 | uint32 uni_id = 2; |
| 36 | string tp_instance_path = 3; |
| 37 | oneof tech_tp_instance { |
| 38 | tech_profile.TechProfileInstance tp_instance = 4; // relevant for GPON, XGPON and XGS-PON technologies |
| 39 | tech_profile.EponTechProfileInstance epon_tp_instance = 5; // relevant for EPON technology |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | message DeleteGemPortMessage { |
| 44 | string device_id = 1; |
| 45 | uint32 uni_id = 2; |
| 46 | string tp_instance_path = 3; |
| 47 | uint32 gem_port_id = 4; |
| 48 | } |
| 49 | |
| 50 | message DeleteTcontMessage { |
| 51 | string device_id = 1; |
| 52 | uint32 uni_id = 2; |
| 53 | string tp_instance_path = 3; |
| 54 | uint32 alloc_id = 4; |
| 55 | } |
| 56 | |
| 57 | message OnuIndicationMessage { |
| 58 | string device_id = 1; |
| 59 | openolt.OnuIndication onu_indication = 2; |
| 60 | } |
| 61 | |
| 62 | message TechProfileInstanceRequestMessage { |
| 63 | string device_id = 1; |
| 64 | string tp_instance_path = 2; // technology profile instance path |
| 65 | string parent_device_id = 3; |
| 66 | uint32 parent_pon_port = 4; |
| 67 | uint32 onu_id = 5; |
| 68 | uint32 uni_id = 6; |
| 69 | } |