VOL-2596 : Measure optical distance between OLT and ONU

Change-Id: I6e5de082b4b69675e0d5470448f6db30900b152d
diff --git a/protos/voltha_protos/openolt.proto b/protos/voltha_protos/openolt.proto
index fea6ebc..8c4c559 100644
--- a/protos/voltha_protos/openolt.proto
+++ b/protos/voltha_protos/openolt.proto
@@ -194,6 +194,20 @@
           body: "*"
         };
     }
+
+    rpc GetLogicalOnuDistanceZero(Onu) returns (OnuLogicalDistance) {
+        option (google.api.http) = {
+            post: "/v1/GetLogicalOnuDistanceZero"
+            body: "*"
+        };
+    }
+
+    rpc GetLogicalOnuDistance(Onu) returns (OnuLogicalDistance) {
+        option (google.api.http) = {
+            post: "/v1/GetLogicalOnuDistance"
+            body: "*"
+        };
+    }
 }
 
 message Indication {
@@ -294,6 +308,13 @@
     fixed32 pir = 4;   // peak information rate assigned to onu
 }
 
+message OnuLogicalDistance {
+    fixed32 intf_id = 1;
+    fixed32 onu_id = 2;
+    fixed32 logical_onu_distance_zero = 3; //0km logical distance
+    fixed32 logical_onu_distance = 4;
+}
+
 message OmciMsg {
     fixed32 intf_id = 1;
     fixed32 onu_id = 2;