Loading proto/kpi_sample_types.proto +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ enum KpiSampleType { KPISAMPLETYPE_ML_CONFIDENCE = 401; //. can be used by both optical and L3 without any issue KPISAMPLETYPE_OPTICAL_SECURITY_STATUS = 501; //. can be used by both optical and L3 without any issue KPISAMPLETYPE_OPTICAL_POWER_TOTAL_INPUT = 502; KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS = 601; KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS = 602; Loading src/telemetry/backend/service/collectors/gnmi_oc/KPI.py +1 −1 Original line number Diff line number Diff line Loading @@ -25,5 +25,5 @@ class KPI(IntEnum): # TODO: verify KPI names and codes with KPI proto fi BYTES_RECEIVED = 202 BYTES_DROPPED = 203 INBAND_POWER = 301 TOTAL_POWER = 302 KPISAMPLETYPE_OPTICAL_POWER_TOTAL_INPUT = 302 # TODO: Add more KPIs as needed, Loading
proto/kpi_sample_types.proto +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ enum KpiSampleType { KPISAMPLETYPE_ML_CONFIDENCE = 401; //. can be used by both optical and L3 without any issue KPISAMPLETYPE_OPTICAL_SECURITY_STATUS = 501; //. can be used by both optical and L3 without any issue KPISAMPLETYPE_OPTICAL_POWER_TOTAL_INPUT = 502; KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS = 601; KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS = 602; Loading
src/telemetry/backend/service/collectors/gnmi_oc/KPI.py +1 −1 Original line number Diff line number Diff line Loading @@ -25,5 +25,5 @@ class KPI(IntEnum): # TODO: verify KPI names and codes with KPI proto fi BYTES_RECEIVED = 202 BYTES_DROPPED = 203 INBAND_POWER = 301 TOTAL_POWER = 302 KPISAMPLETYPE_OPTICAL_POWER_TOTAL_INPUT = 302 # TODO: Add more KPIs as needed,