blob: 2051b39a521db9ffe50afa87fb6292ce53e2a341 [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
kesavand5c6ff8a2021-11-25 11:18:06 +053025message 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
khenaidoo4c6543e2021-10-19 17:25:58 -040033message 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
43message 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
50message DeleteTcontMessage {
51 string device_id = 1;
52 uint32 uni_id = 2;
53 string tp_instance_path = 3;
54 uint32 alloc_id = 4;
55}
56
57message OnuIndicationMessage {
58 string device_id = 1;
59 openolt.OnuIndication onu_indication = 2;
60}
61
62message 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}