Commit a1260aac authored by Waleed Akbar's avatar Waleed Akbar
Browse files

Add Optical Power Total Input KPI to proto and update corresponding Python enum

parent e40fcec6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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,