blob: e622ce9ac7e08d67061baa4a104c2fae8bd723b8 [file] [log] [blame]
khenaidoo4c6543e2021-10-19 17:25:58 -04001syntax = "proto3";
2
3option go_package = "github.com/opencord/voltha-protos/v5/go/inter_adapter";
4option java_package = "org.opencord.voltha.inter_adapter";
5
6import "voltha_protos/common.proto";
7import "voltha_protos/voltha.proto";
8import "voltha_protos/tech_profile.proto";
9import "voltha_protos/openolt.proto";
10import "voltha_protos/device.proto";
11
12package inter_adapter;
13
14
15// Inter-Adapter messages
16
17message 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
25message TechProfileDownloadMessage {
26 string device_id = 1;
27 uint32 uni_id = 2;
28 string tp_instance_path = 3;
29 oneof tech_tp_instance {
30 tech_profile.TechProfileInstance tp_instance = 4; // relevant for GPON, XGPON and XGS-PON technologies
31 tech_profile.EponTechProfileInstance epon_tp_instance = 5; // relevant for EPON technology
32 }
33}
34
35message DeleteGemPortMessage {
36 string device_id = 1;
37 uint32 uni_id = 2;
38 string tp_instance_path = 3;
39 uint32 gem_port_id = 4;
40}
41
42message DeleteTcontMessage {
43 string device_id = 1;
44 uint32 uni_id = 2;
45 string tp_instance_path = 3;
46 uint32 alloc_id = 4;
47}
48
49message OnuIndicationMessage {
50 string device_id = 1;
51 openolt.OnuIndication onu_indication = 2;
52}
53
54message TechProfileInstanceRequestMessage {
55 string device_id = 1;
56 string tp_instance_path = 2; // technology profile instance path
57 string parent_device_id = 3;
58 uint32 parent_pon_port = 4;
59 uint32 onu_id = 5;
60 uint32 uni_id = 6;
61}