[VOL-4080] Extend GetExtValue api to read transceiver rx-power on demand.
Change-Id: Ibb6814455d59afbeac140461f7575b0569a71676
diff --git a/protos/voltha_protos/extensions.proto b/protos/voltha_protos/extensions.proto
index 43c012a..8b64c26 100644
--- a/protos/voltha_protos/extensions.proto
+++ b/protos/voltha_protos/extensions.proto
@@ -149,6 +149,11 @@
string onuDeviceId = 1;
}
+message GetRxPowerRequest {
+ fixed32 intf_id = 1;
+ fixed32 onu_id = 2;
+}
+
message GetOnuCountersResponse {
oneof is_intf_id {
fixed32 intf_id = 1;
@@ -279,6 +284,14 @@
}
}
+message GetRxPowerResponse {
+ fixed32 intf_id= 1;
+ fixed32 onu_id = 2;
+ string status = 3;
+ string fail_reason = 4;
+ double rx_power = 5;
+}
+
message GetValueRequest {
oneof request {
GetDistanceRequest distance = 1;
@@ -290,9 +303,10 @@
// Corresponds to PmMetricId.ETHERNET_BRIDGE_PORT_HISTORY
GetOnuEthernetBridgePortHistory ethBridgePort = 5;
// Corresponds to PmMetricId.FEC_HISTORY
- GetOnuFecHistory fecHistory= 6;
- GetOnuCountersRequest onuPonInfo= 7;
- GetOnuOMCICountersRequest onuInfo=8;
+ GetOnuFecHistory fecHistory = 6;
+ GetOnuCountersRequest onuPonInfo = 7;
+ GetOnuOMCICountersRequest onuInfo = 8;
+ GetRxPowerRequest rxPower = 9;
}
}
@@ -323,9 +337,9 @@
GetOnuPonOpticalInfoResponse onuOpticalInfo = 6;
GetOnuEthernetBridgePortHistoryResponse ethBridgePortInfo = 7;
GetOnuFecHistoryResponse fecHistory = 8;
- GetOnuCountersResponse onuPonCounters= 9;
- GetOnuOMCICountersResponse onuOMCICounters= 10;
-
+ GetOnuCountersResponse onuPonCounters = 9;
+ GetOnuOMCICountersResponse onuOMCICounters = 10;
+ GetRxPowerResponse rxPower = 11;
}
}