[VOL-4371] Voltha protos cleanup
Details can be found at:
https://docs.google.com/document/d/1UzfuiPzxYYTULyERk8nKfgzW9QAnwEdtfw_J4UoFyYo/edit
Change-Id: Iad2efddf306234e282af5d518fd435a6b50b1c41
diff --git a/protos/voltha_protos/inter_adapter.proto b/protos/voltha_protos/inter_adapter.proto
new file mode 100755
index 0000000..e622ce9
--- /dev/null
+++ b/protos/voltha_protos/inter_adapter.proto
@@ -0,0 +1,61 @@
+syntax = "proto3";
+
+option go_package = "github.com/opencord/voltha-protos/v5/go/inter_adapter";
+option java_package = "org.opencord.voltha.inter_adapter";
+
+import "voltha_protos/common.proto";
+import "voltha_protos/voltha.proto";
+import "voltha_protos/tech_profile.proto";
+import "voltha_protos/openolt.proto";
+import "voltha_protos/device.proto";
+
+package inter_adapter;
+
+
+// Inter-Adapter messages
+
+message OmciMessage {
+ bytes message = 1;
+ common.ConnectStatus.Types connect_status = 2;
+ device.Device.ProxyAddress proxy_address = 3;
+ string parent_device_id = 4;
+ string child_device_id = 5;
+}
+
+message TechProfileDownloadMessage {
+ string device_id = 1;
+ uint32 uni_id = 2;
+ string tp_instance_path = 3;
+ oneof tech_tp_instance {
+ tech_profile.TechProfileInstance tp_instance = 4; // relevant for GPON, XGPON and XGS-PON technologies
+ tech_profile.EponTechProfileInstance epon_tp_instance = 5; // relevant for EPON technology
+ }
+}
+
+message DeleteGemPortMessage {
+ string device_id = 1;
+ uint32 uni_id = 2;
+ string tp_instance_path = 3;
+ uint32 gem_port_id = 4;
+}
+
+message DeleteTcontMessage {
+ string device_id = 1;
+ uint32 uni_id = 2;
+ string tp_instance_path = 3;
+ uint32 alloc_id = 4;
+}
+
+message OnuIndicationMessage {
+ string device_id = 1;
+ openolt.OnuIndication onu_indication = 2;
+}
+
+message TechProfileInstanceRequestMessage {
+ string device_id = 1;
+ string tp_instance_path = 2; // technology profile instance path
+ string parent_device_id = 3;
+ uint32 parent_pon_port = 4;
+ uint32 onu_id = 5;
+ uint32 uni_id = 6;
+}
\ No newline at end of file