VOL-2596 : Measure optical distance between OLT and ONU
Change-Id: Ib13d85fe47a800348f82a5d76a90d97d98b20e1e
diff --git a/agent/common/server.cc b/agent/common/server.cc
index baeb590..5a30f37 100644
--- a/agent/common/server.cc
+++ b/agent/common/server.cc
@@ -322,6 +322,25 @@
openolt::Empty* response) override {
return OnuItuPonAlarmSet_(request);
};
+
+ Status GetLogicalOnuDistanceZero(
+ ServerContext* context,
+ const openolt::Onu* request,
+ openolt::OnuLogicalDistance* response) override {
+ return GetLogicalOnuDistanceZero_(
+ request->intf_id(),
+ response);
+ };
+
+ Status GetLogicalOnuDistance(
+ ServerContext* context,
+ const openolt::Onu* request,
+ openolt::OnuLogicalDistance* response) override {
+ return GetLogicalOnuDistance_(
+ request->intf_id(),
+ request->onu_id(),
+ response);
+ };
};
void RunServer(int argc, char** argv) {