class WebReqHist5min(Mo): """ A class that represents historical statistics for web requests in a 5 minute sampling interval. This class updates every 10 seconds. """ meta = StatsClassMeta("cobra.model.comm.WebReqHist5min", "web requests") counter = CounterMeta("requests", CounterCategory.COUNTER, "requests", "total requests") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "requestsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "requestsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "requestsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "requestsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "requestsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "requestsSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "requestsThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "requestsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "requestsRate" meta._counters.append(counter) meta.moClassName = "commWebReqHist5min" meta.rnFormat = "HDcommWebReq5min-%(index)s" meta.category = MoCategory.STATS_HISTORY meta.label = "historical web requests stats in 5 minute" meta.writeAccessMask = 0x3 meta.readAccessMask = 0x80000000003 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = False meta.parentClasses.add("cobra.model.comm.WebServer") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Hist") meta.superClasses.add("cobra.model.comm.WebReqHist") meta.rnPrefixes = [ ('HDcommWebReq5min-', True), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "index", "index", 19445, PropCategory.REGULAR) prop.label = "History Index" prop.isConfig = True prop.isAdmin = True prop.isCreateOnly = True prop.isNaming = True meta.props.add("index", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "requestsAvg", "requestsAvg", 19716, PropCategory.IMPLICIT_AVG) prop.label = "total requests average value" prop.isOper = True prop.isStats = True meta.props.add("requestsAvg", prop) prop = PropMeta("str", "requestsCum", "requestsCum", 19712, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "total requests cumulative" prop.isOper = True prop.isStats = True meta.props.add("requestsCum", prop) prop = PropMeta("str", "requestsMax", "requestsMax", 19715, PropCategory.IMPLICIT_MAX) prop.label = "total requests maximum value" prop.isOper = True prop.isStats = True meta.props.add("requestsMax", prop) prop = PropMeta("str", "requestsMin", "requestsMin", 19714, PropCategory.IMPLICIT_MIN) prop.label = "total requests minimum value" prop.isOper = True prop.isStats = True meta.props.add("requestsMin", prop) prop = PropMeta("str", "requestsPer", "requestsPer", 19713, PropCategory.IMPLICIT_PERIODIC) prop.label = "total requests periodic" prop.isOper = True prop.isStats = True meta.props.add("requestsPer", prop) prop = PropMeta("str", "requestsRate", "requestsRate", 19720, PropCategory.IMPLICIT_RATE) prop.label = "total requests rate" prop.isOper = True prop.isStats = True meta.props.add("requestsRate", prop) prop = PropMeta("str", "requestsSpct", "requestsSpct", 19717, PropCategory.IMPLICIT_SUSPECT) prop.label = "total requests suspect count" prop.isOper = True prop.isStats = True meta.props.add("requestsSpct", prop) prop = PropMeta("str", "requestsThr", "requestsThr", 19718, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "total requests thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("requestsThr", prop) prop = PropMeta("str", "requestsTr", "requestsTr", 19719, PropCategory.IMPLICIT_TREND) prop.label = "total requests trend" prop.isOper = True prop.isStats = True meta.props.add("requestsTr", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) meta.namingProps.append(getattr(meta.props, "index")) # Deployment Meta meta.deploymentQuery = True meta.deploymentType = "Ancestor" def __init__(self, parentMoOrDn, index, markDirty=True, **creationProps): namingVals = [index] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class Dropped1mo(Mo): """ Mo doc not defined in techpub!!! """ meta = StatsClassMeta("cobra.model.analytics.Dropped1mo", "Netflow Drop Counters") counter = CounterMeta("other", CounterCategory.COUNTER, "packets", "Other Dropped Packets") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "otherLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "otherCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "otherPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "otherMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "otherMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "otherAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "otherSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "otherBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "otherThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "otherTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "otherTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "otherRate" meta._counters.append(counter) counter = CounterMeta("outputDrop", CounterCategory.COUNTER, "packets", "Dropped Output Packets") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "outputDropLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "outputDropCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "outputDropPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "outputDropMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "outputDropMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "outputDropAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "outputDropSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "outputDropBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "outputDropThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "outputDropTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "outputDropTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "outputDropRate" meta._counters.append(counter) counter = CounterMeta("noRouteToHost", CounterCategory.COUNTER, "packets", "Dropped Packets - No Route To Host") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "noRouteToHostLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "noRouteToHostCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "noRouteToHostPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "noRouteToHostMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "noRouteToHostMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "noRouteToHostAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "noRouteToHostSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "noRouteToHostBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "noRouteToHostThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "noRouteToHostTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "noRouteToHostTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "noRouteToHostRate" meta._counters.append(counter) meta.moClassName = "analyticsDropped1mo" meta.rnFormat = "CDanalyticsDropped1mo" meta.category = MoCategory.STATS_CURRENT meta.label = "current Netflow Drop Counters stats in 1 month" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = True meta.parentClasses.add("cobra.model.analytics.Collector") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Curr") meta.superClasses.add("cobra.model.analytics.Dropped") meta.rnPrefixes = [ ('CDanalyticsDropped1mo', False), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "noRouteToHostAvg", "noRouteToHostAvg", 28094, PropCategory.IMPLICIT_AVG) prop.label = "Dropped Packets - No Route To Host average value" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostAvg", prop) prop = PropMeta("str", "noRouteToHostBase", "noRouteToHostBase", 28089, PropCategory.IMPLICIT_BASELINE) prop.label = "Dropped Packets - No Route To Host baseline" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostBase", prop) prop = PropMeta("str", "noRouteToHostCum", "noRouteToHostCum", 28090, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Dropped Packets - No Route To Host cumulative" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostCum", prop) prop = PropMeta("str", "noRouteToHostLast", "noRouteToHostLast", 28088, PropCategory.IMPLICIT_LASTREADING) prop.label = "Dropped Packets - No Route To Host current value" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostLast", prop) prop = PropMeta("str", "noRouteToHostMax", "noRouteToHostMax", 28093, PropCategory.IMPLICIT_MAX) prop.label = "Dropped Packets - No Route To Host maximum value" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostMax", prop) prop = PropMeta("str", "noRouteToHostMin", "noRouteToHostMin", 28092, PropCategory.IMPLICIT_MIN) prop.label = "Dropped Packets - No Route To Host minimum value" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostMin", prop) prop = PropMeta("str", "noRouteToHostPer", "noRouteToHostPer", 28091, PropCategory.IMPLICIT_PERIODIC) prop.label = "Dropped Packets - No Route To Host periodic" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostPer", prop) prop = PropMeta("str", "noRouteToHostRate", "noRouteToHostRate", 28099, PropCategory.IMPLICIT_RATE) prop.label = "Dropped Packets - No Route To Host rate" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostRate", prop) prop = PropMeta("str", "noRouteToHostSpct", "noRouteToHostSpct", 28095, PropCategory.IMPLICIT_SUSPECT) prop.label = "Dropped Packets - No Route To Host suspect count" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostSpct", prop) prop = PropMeta("str", "noRouteToHostThr", "noRouteToHostThr", 28096, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Dropped Packets - No Route To Host thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("noRouteToHostThr", prop) prop = PropMeta("str", "noRouteToHostTr", "noRouteToHostTr", 28098, PropCategory.IMPLICIT_TREND) prop.label = "Dropped Packets - No Route To Host trend" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostTr", prop) prop = PropMeta("str", "noRouteToHostTrBase", "noRouteToHostTrBase", 28097, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Dropped Packets - No Route To Host trend baseline" prop.isOper = True prop.isStats = True meta.props.add("noRouteToHostTrBase", prop) prop = PropMeta("str", "otherAvg", "otherAvg", 28115, PropCategory.IMPLICIT_AVG) prop.label = "Other Dropped Packets average value" prop.isOper = True prop.isStats = True meta.props.add("otherAvg", prop) prop = PropMeta("str", "otherBase", "otherBase", 28110, PropCategory.IMPLICIT_BASELINE) prop.label = "Other Dropped Packets baseline" prop.isOper = True prop.isStats = True meta.props.add("otherBase", prop) prop = PropMeta("str", "otherCum", "otherCum", 28111, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Other Dropped Packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("otherCum", prop) prop = PropMeta("str", "otherLast", "otherLast", 28109, PropCategory.IMPLICIT_LASTREADING) prop.label = "Other Dropped Packets current value" prop.isOper = True prop.isStats = True meta.props.add("otherLast", prop) prop = PropMeta("str", "otherMax", "otherMax", 28114, PropCategory.IMPLICIT_MAX) prop.label = "Other Dropped Packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("otherMax", prop) prop = PropMeta("str", "otherMin", "otherMin", 28113, PropCategory.IMPLICIT_MIN) prop.label = "Other Dropped Packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("otherMin", prop) prop = PropMeta("str", "otherPer", "otherPer", 28112, PropCategory.IMPLICIT_PERIODIC) prop.label = "Other Dropped Packets periodic" prop.isOper = True prop.isStats = True meta.props.add("otherPer", prop) prop = PropMeta("str", "otherRate", "otherRate", 28120, PropCategory.IMPLICIT_RATE) prop.label = "Other Dropped Packets rate" prop.isOper = True prop.isStats = True meta.props.add("otherRate", prop) prop = PropMeta("str", "otherSpct", "otherSpct", 28116, PropCategory.IMPLICIT_SUSPECT) prop.label = "Other Dropped Packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("otherSpct", prop) prop = PropMeta("str", "otherThr", "otherThr", 28117, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Other Dropped Packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("otherThr", prop) prop = PropMeta("str", "otherTr", "otherTr", 28119, PropCategory.IMPLICIT_TREND) prop.label = "Other Dropped Packets trend" prop.isOper = True prop.isStats = True meta.props.add("otherTr", prop) prop = PropMeta("str", "otherTrBase", "otherTrBase", 28118, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Other Dropped Packets trend baseline" prop.isOper = True prop.isStats = True meta.props.add("otherTrBase", prop) prop = PropMeta("str", "outputDropAvg", "outputDropAvg", 28136, PropCategory.IMPLICIT_AVG) prop.label = "Dropped Output Packets average value" prop.isOper = True prop.isStats = True meta.props.add("outputDropAvg", prop) prop = PropMeta("str", "outputDropBase", "outputDropBase", 28131, PropCategory.IMPLICIT_BASELINE) prop.label = "Dropped Output Packets baseline" prop.isOper = True prop.isStats = True meta.props.add("outputDropBase", prop) prop = PropMeta("str", "outputDropCum", "outputDropCum", 28132, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Dropped Output Packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("outputDropCum", prop) prop = PropMeta("str", "outputDropLast", "outputDropLast", 28130, PropCategory.IMPLICIT_LASTREADING) prop.label = "Dropped Output Packets current value" prop.isOper = True prop.isStats = True meta.props.add("outputDropLast", prop) prop = PropMeta("str", "outputDropMax", "outputDropMax", 28135, PropCategory.IMPLICIT_MAX) prop.label = "Dropped Output Packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("outputDropMax", prop) prop = PropMeta("str", "outputDropMin", "outputDropMin", 28134, PropCategory.IMPLICIT_MIN) prop.label = "Dropped Output Packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("outputDropMin", prop) prop = PropMeta("str", "outputDropPer", "outputDropPer", 28133, PropCategory.IMPLICIT_PERIODIC) prop.label = "Dropped Output Packets periodic" prop.isOper = True prop.isStats = True meta.props.add("outputDropPer", prop) prop = PropMeta("str", "outputDropRate", "outputDropRate", 28141, PropCategory.IMPLICIT_RATE) prop.label = "Dropped Output Packets rate" prop.isOper = True prop.isStats = True meta.props.add("outputDropRate", prop) prop = PropMeta("str", "outputDropSpct", "outputDropSpct", 28137, PropCategory.IMPLICIT_SUSPECT) prop.label = "Dropped Output Packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("outputDropSpct", prop) prop = PropMeta("str", "outputDropThr", "outputDropThr", 28138, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Dropped Output Packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("outputDropThr", prop) prop = PropMeta("str", "outputDropTr", "outputDropTr", 28140, PropCategory.IMPLICIT_TREND) prop.label = "Dropped Output Packets trend" prop.isOper = True prop.isStats = True meta.props.add("outputDropTr", prop) prop = PropMeta("str", "outputDropTrBase", "outputDropTrBase", 28139, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Dropped Output Packets trend baseline" prop.isOper = True prop.isStats = True meta.props.add("outputDropTrBase", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class RuleHit1d(Mo): """ A class that represents the most current statistics for rule hits in a 1 day sampling interval. This class updates every hour. """ meta = StatsClassMeta("cobra.model.actrl.RuleHit1d", "rule hits") counter = CounterMeta("revPkts", CounterCategory.COUNTER, "packets", "reverse hit packets") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "revPktsLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "revPktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "revPktsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "revPktsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "revPktsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "revPktsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "revPktsSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "revPktsBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "revPktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "revPktsTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "revPktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "revPktsRate" meta._counters.append(counter) counter = CounterMeta("pkts", CounterCategory.COUNTER, "packets", "hit packets") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "pktsLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "pktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "pktsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "pktsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "pktsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "pktsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pktsSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "pktsBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "pktsTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "pktsRate" meta._counters.append(counter) counter = CounterMeta("egrPkts", CounterCategory.COUNTER, "packets", "egress hit packets") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "egrPktsLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "egrPktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "egrPktsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "egrPktsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "egrPktsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "egrPktsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "egrPktsSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "egrPktsBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "egrPktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "egrPktsTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "egrPktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "egrPktsRate" meta._counters.append(counter) counter = CounterMeta("ingrPkts", CounterCategory.COUNTER, "packets", "ingress hit packets") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "ingrPktsLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "ingrPktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "ingrPktsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "ingrPktsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "ingrPktsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "ingrPktsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "ingrPktsSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "ingrPktsBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "ingrPktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "ingrPktsTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "ingrPktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "ingrPktsRate" meta._counters.append(counter) meta.moClassName = "actrlRuleHit1d" meta.rnFormat = "CDactrlRuleHit1d" meta.category = MoCategory.STATS_CURRENT meta.label = "current rule hits stats in 1 day" meta.writeAccessMask = 0x101 meta.readAccessMask = 0x101 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = True meta.parentClasses.add("cobra.model.actrl.Rule") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Curr") meta.superClasses.add("cobra.model.actrl.RuleHit") meta.rnPrefixes = [ ('CDactrlRuleHit1d', False), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "egrPktsAvg", "egrPktsAvg", 7440, PropCategory.IMPLICIT_AVG) prop.label = "egress hit packets average value" prop.isOper = True prop.isStats = True meta.props.add("egrPktsAvg", prop) prop = PropMeta("str", "egrPktsBase", "egrPktsBase", 7435, PropCategory.IMPLICIT_BASELINE) prop.label = "egress hit packets baseline" prop.isOper = True prop.isStats = True meta.props.add("egrPktsBase", prop) prop = PropMeta("str", "egrPktsCum", "egrPktsCum", 7436, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "egress hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("egrPktsCum", prop) prop = PropMeta("str", "egrPktsLast", "egrPktsLast", 7434, PropCategory.IMPLICIT_LASTREADING) prop.label = "egress hit packets current value" prop.isOper = True prop.isStats = True meta.props.add("egrPktsLast", prop) prop = PropMeta("str", "egrPktsMax", "egrPktsMax", 7439, PropCategory.IMPLICIT_MAX) prop.label = "egress hit packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("egrPktsMax", prop) prop = PropMeta("str", "egrPktsMin", "egrPktsMin", 7438, PropCategory.IMPLICIT_MIN) prop.label = "egress hit packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("egrPktsMin", prop) prop = PropMeta("str", "egrPktsPer", "egrPktsPer", 7437, PropCategory.IMPLICIT_PERIODIC) prop.label = "egress hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("egrPktsPer", prop) prop = PropMeta("str", "egrPktsRate", "egrPktsRate", 7445, PropCategory.IMPLICIT_RATE) prop.label = "egress hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("egrPktsRate", prop) prop = PropMeta("str", "egrPktsSpct", "egrPktsSpct", 7441, PropCategory.IMPLICIT_SUSPECT) prop.label = "egress hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("egrPktsSpct", prop) prop = PropMeta("str", "egrPktsThr", "egrPktsThr", 7442, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "egress hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("egrPktsThr", prop) prop = PropMeta("str", "egrPktsTr", "egrPktsTr", 7444, PropCategory.IMPLICIT_TREND) prop.label = "egress hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("egrPktsTr", prop) prop = PropMeta("str", "egrPktsTrBase", "egrPktsTrBase", 7443, PropCategory.IMPLICIT_TREND_BASE) prop.label = "egress hit packets trend baseline" prop.isOper = True prop.isStats = True meta.props.add("egrPktsTrBase", prop) prop = PropMeta("str", "ingrPktsAvg", "ingrPktsAvg", 7501, PropCategory.IMPLICIT_AVG) prop.label = "ingress hit packets average value" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsAvg", prop) prop = PropMeta("str", "ingrPktsBase", "ingrPktsBase", 7496, PropCategory.IMPLICIT_BASELINE) prop.label = "ingress hit packets baseline" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsBase", prop) prop = PropMeta("str", "ingrPktsCum", "ingrPktsCum", 7497, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "ingress hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsCum", prop) prop = PropMeta("str", "ingrPktsLast", "ingrPktsLast", 7495, PropCategory.IMPLICIT_LASTREADING) prop.label = "ingress hit packets current value" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsLast", prop) prop = PropMeta("str", "ingrPktsMax", "ingrPktsMax", 7500, PropCategory.IMPLICIT_MAX) prop.label = "ingress hit packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsMax", prop) prop = PropMeta("str", "ingrPktsMin", "ingrPktsMin", 7499, PropCategory.IMPLICIT_MIN) prop.label = "ingress hit packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsMin", prop) prop = PropMeta("str", "ingrPktsPer", "ingrPktsPer", 7498, PropCategory.IMPLICIT_PERIODIC) prop.label = "ingress hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsPer", prop) prop = PropMeta("str", "ingrPktsRate", "ingrPktsRate", 7506, PropCategory.IMPLICIT_RATE) prop.label = "ingress hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsRate", prop) prop = PropMeta("str", "ingrPktsSpct", "ingrPktsSpct", 7502, PropCategory.IMPLICIT_SUSPECT) prop.label = "ingress hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsSpct", prop) prop = PropMeta("str", "ingrPktsThr", "ingrPktsThr", 7503, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "ingress hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("ingrPktsThr", prop) prop = PropMeta("str", "ingrPktsTr", "ingrPktsTr", 7505, PropCategory.IMPLICIT_TREND) prop.label = "ingress hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsTr", prop) prop = PropMeta("str", "ingrPktsTrBase", "ingrPktsTrBase", 7504, PropCategory.IMPLICIT_TREND_BASE) prop.label = "ingress hit packets trend baseline" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsTrBase", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "pktsAvg", "pktsAvg", 24145, PropCategory.IMPLICIT_AVG) prop.label = "hit packets average value" prop.isOper = True prop.isStats = True meta.props.add("pktsAvg", prop) prop = PropMeta("str", "pktsBase", "pktsBase", 24140, PropCategory.IMPLICIT_BASELINE) prop.label = "hit packets baseline" prop.isOper = True prop.isStats = True meta.props.add("pktsBase", prop) prop = PropMeta("str", "pktsCum", "pktsCum", 24141, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("pktsCum", prop) prop = PropMeta("str", "pktsLast", "pktsLast", 24139, PropCategory.IMPLICIT_LASTREADING) prop.label = "hit packets current value" prop.isOper = True prop.isStats = True meta.props.add("pktsLast", prop) prop = PropMeta("str", "pktsMax", "pktsMax", 24144, PropCategory.IMPLICIT_MAX) prop.label = "hit packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("pktsMax", prop) prop = PropMeta("str", "pktsMin", "pktsMin", 24143, PropCategory.IMPLICIT_MIN) prop.label = "hit packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("pktsMin", prop) prop = PropMeta("str", "pktsPer", "pktsPer", 24142, PropCategory.IMPLICIT_PERIODIC) prop.label = "hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("pktsPer", prop) prop = PropMeta("str", "pktsRate", "pktsRate", 24150, PropCategory.IMPLICIT_RATE) prop.label = "hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("pktsRate", prop) prop = PropMeta("str", "pktsSpct", "pktsSpct", 24146, PropCategory.IMPLICIT_SUSPECT) prop.label = "hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("pktsSpct", prop) prop = PropMeta("str", "pktsThr", "pktsThr", 24147, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pktsThr", prop) prop = PropMeta("str", "pktsTr", "pktsTr", 24149, PropCategory.IMPLICIT_TREND) prop.label = "hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("pktsTr", prop) prop = PropMeta("str", "pktsTrBase", "pktsTrBase", 24148, PropCategory.IMPLICIT_TREND_BASE) prop.label = "hit packets trend baseline" prop.isOper = True prop.isStats = True meta.props.add("pktsTrBase", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "revPktsAvg", "revPktsAvg", 24200, PropCategory.IMPLICIT_AVG) prop.label = "reverse hit packets average value" prop.isOper = True prop.isStats = True meta.props.add("revPktsAvg", prop) prop = PropMeta("str", "revPktsBase", "revPktsBase", 24195, PropCategory.IMPLICIT_BASELINE) prop.label = "reverse hit packets baseline" prop.isOper = True prop.isStats = True meta.props.add("revPktsBase", prop) prop = PropMeta("str", "revPktsCum", "revPktsCum", 24196, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "reverse hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("revPktsCum", prop) prop = PropMeta("str", "revPktsLast", "revPktsLast", 24194, PropCategory.IMPLICIT_LASTREADING) prop.label = "reverse hit packets current value" prop.isOper = True prop.isStats = True meta.props.add("revPktsLast", prop) prop = PropMeta("str", "revPktsMax", "revPktsMax", 24199, PropCategory.IMPLICIT_MAX) prop.label = "reverse hit packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("revPktsMax", prop) prop = PropMeta("str", "revPktsMin", "revPktsMin", 24198, PropCategory.IMPLICIT_MIN) prop.label = "reverse hit packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("revPktsMin", prop) prop = PropMeta("str", "revPktsPer", "revPktsPer", 24197, PropCategory.IMPLICIT_PERIODIC) prop.label = "reverse hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("revPktsPer", prop) prop = PropMeta("str", "revPktsRate", "revPktsRate", 24205, PropCategory.IMPLICIT_RATE) prop.label = "reverse hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("revPktsRate", prop) prop = PropMeta("str", "revPktsSpct", "revPktsSpct", 24201, PropCategory.IMPLICIT_SUSPECT) prop.label = "reverse hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("revPktsSpct", prop) prop = PropMeta("str", "revPktsThr", "revPktsThr", 24202, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "reverse hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("revPktsThr", prop) prop = PropMeta("str", "revPktsTr", "revPktsTr", 24204, PropCategory.IMPLICIT_TREND) prop.label = "reverse hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("revPktsTr", prop) prop = PropMeta("str", "revPktsTrBase", "revPktsTrBase", 24203, PropCategory.IMPLICIT_TREND_BASE) prop.label = "reverse hit packets trend baseline" prop.isOper = True prop.isStats = True meta.props.add("revPktsTrBase", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class WebConnStatesAgHist1mo(Mo): """ A class that represents historical aggregated statistics for web connections state in a 1 month sampling interval. This class updates every day. """ meta = StatsClassMeta("cobra.model.comm.WebConnStatesAgHist1mo", "web connections state") counter = CounterMeta("wait", CounterCategory.GAUGE, "connections", "current waiting connections") meta._counters.append(counter) counter = CounterMeta("write", CounterCategory.GAUGE, "connections", "current writing connections") meta._counters.append(counter) counter = CounterMeta("read", CounterCategory.GAUGE, "connections", "current reading connections") meta._counters.append(counter) meta.moClassName = "commWebConnStatesAgHist1mo" meta.rnFormat = "HDcommWebConnStatesAg1mo-%(index)s" meta.category = MoCategory.STATS_HISTORY meta.label = "historical aggregated web connections state stats in 1 month" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = True meta.parentClasses.add("cobra.model.comm.Https") meta.parentClasses.add("cobra.model.comm.Http") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Hist") meta.superClasses.add("cobra.model.comm.WebConnStatesAgHist") meta.rnPrefixes = [ ('HDcommWebConnStatesAg1mo-', True), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "index", "index", 19393, PropCategory.REGULAR) prop.label = "History Index" prop.isConfig = True prop.isAdmin = True prop.isCreateOnly = True prop.isNaming = True meta.props.add("index", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) meta.namingProps.append(getattr(meta.props, "index")) # Deployment Meta meta.deploymentQuery = True meta.deploymentType = "Ancestor" def __init__(self, parentMoOrDn, index, markDirty=True, **creationProps): namingVals = [index] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class PeerMsgHist1d(Mo): """ Mo doc not defined in techpub!!! """ meta = StatsClassMeta("cobra.model.bgp.PeerMsgHist1d", "BGP Peer Msg") counter = CounterMeta("msgRcvd", CounterCategory.COUNTER, "packets", "Number of Messages Received") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "msgRcvdCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "msgRcvdPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "msgRcvdMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "msgRcvdMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "msgRcvdAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "msgRcvdSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "msgRcvdThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "msgRcvdTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "msgRcvdRate" meta._counters.append(counter) counter = CounterMeta("msgSent", CounterCategory.COUNTER, "packets", "Number of Messages Sent") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "msgSentCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "msgSentPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "msgSentMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "msgSentMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "msgSentAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "msgSentSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "msgSentThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "msgSentTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "msgSentRate" meta._counters.append(counter) counter = CounterMeta("notifRcvd", CounterCategory.COUNTER, "packets", "Number of Notification Messages Received") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "notifRcvdCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "notifRcvdPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "notifRcvdMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "notifRcvdMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "notifRcvdAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "notifRcvdSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "notifRcvdThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "notifRcvdTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "notifRcvdRate" meta._counters.append(counter) counter = CounterMeta("notifSent", CounterCategory.COUNTER, "packets", "Number of Notification Messages Sent") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "notifSentCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "notifSentPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "notifSentMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "notifSentMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "notifSentAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "notifSentSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "notifSentThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "notifSentTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "notifSentRate" meta._counters.append(counter) meta.moClassName = "bgpPeerMsgHist1d" meta.rnFormat = "HDbgpPeerMsg1d-%(index)s" meta.category = MoCategory.STATS_HISTORY meta.label = "historical BGP Peer Msg stats in 1 day" meta.writeAccessMask = 0x8008020040001 meta.readAccessMask = 0x8008020040001 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = True meta.parentClasses.add("cobra.model.bgp.Peer") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Hist") meta.superClasses.add("cobra.model.bgp.PeerMsgHist") meta.rnPrefixes = [ ('HDbgpPeerMsg1d-', True), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "index", "index", 47722, PropCategory.REGULAR) prop.label = "History Index" prop.isConfig = True prop.isAdmin = True prop.isCreateOnly = True prop.isNaming = True meta.props.add("index", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "msgRcvdAvg", "msgRcvdAvg", 48039, PropCategory.IMPLICIT_AVG) prop.label = "Number of Messages Received average value" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdAvg", prop) prop = PropMeta("str", "msgRcvdCum", "msgRcvdCum", 48035, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Messages Received cumulative" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdCum", prop) prop = PropMeta("str", "msgRcvdMax", "msgRcvdMax", 48038, PropCategory.IMPLICIT_MAX) prop.label = "Number of Messages Received maximum value" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdMax", prop) prop = PropMeta("str", "msgRcvdMin", "msgRcvdMin", 48037, PropCategory.IMPLICIT_MIN) prop.label = "Number of Messages Received minimum value" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdMin", prop) prop = PropMeta("str", "msgRcvdPer", "msgRcvdPer", 48036, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Messages Received periodic" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdPer", prop) prop = PropMeta("str", "msgRcvdRate", "msgRcvdRate", 48043, PropCategory.IMPLICIT_RATE) prop.label = "Number of Messages Received rate" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdRate", prop) prop = PropMeta("str", "msgRcvdSpct", "msgRcvdSpct", 48040, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Messages Received suspect count" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdSpct", prop) prop = PropMeta("str", "msgRcvdThr", "msgRcvdThr", 48041, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Messages Received thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("msgRcvdThr", prop) prop = PropMeta("str", "msgRcvdTr", "msgRcvdTr", 48042, PropCategory.IMPLICIT_TREND) prop.label = "Number of Messages Received trend" prop.isOper = True prop.isStats = True meta.props.add("msgRcvdTr", prop) prop = PropMeta("str", "msgSentAvg", "msgSentAvg", 48060, PropCategory.IMPLICIT_AVG) prop.label = "Number of Messages Sent average value" prop.isOper = True prop.isStats = True meta.props.add("msgSentAvg", prop) prop = PropMeta("str", "msgSentCum", "msgSentCum", 48056, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Messages Sent cumulative" prop.isOper = True prop.isStats = True meta.props.add("msgSentCum", prop) prop = PropMeta("str", "msgSentMax", "msgSentMax", 48059, PropCategory.IMPLICIT_MAX) prop.label = "Number of Messages Sent maximum value" prop.isOper = True prop.isStats = True meta.props.add("msgSentMax", prop) prop = PropMeta("str", "msgSentMin", "msgSentMin", 48058, PropCategory.IMPLICIT_MIN) prop.label = "Number of Messages Sent minimum value" prop.isOper = True prop.isStats = True meta.props.add("msgSentMin", prop) prop = PropMeta("str", "msgSentPer", "msgSentPer", 48057, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Messages Sent periodic" prop.isOper = True prop.isStats = True meta.props.add("msgSentPer", prop) prop = PropMeta("str", "msgSentRate", "msgSentRate", 48064, PropCategory.IMPLICIT_RATE) prop.label = "Number of Messages Sent rate" prop.isOper = True prop.isStats = True meta.props.add("msgSentRate", prop) prop = PropMeta("str", "msgSentSpct", "msgSentSpct", 48061, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Messages Sent suspect count" prop.isOper = True prop.isStats = True meta.props.add("msgSentSpct", prop) prop = PropMeta("str", "msgSentThr", "msgSentThr", 48062, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Messages Sent thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("msgSentThr", prop) prop = PropMeta("str", "msgSentTr", "msgSentTr", 48063, PropCategory.IMPLICIT_TREND) prop.label = "Number of Messages Sent trend" prop.isOper = True prop.isStats = True meta.props.add("msgSentTr", prop) prop = PropMeta("str", "notifRcvdAvg", "notifRcvdAvg", 48081, PropCategory.IMPLICIT_AVG) prop.label = "Number of Notification Messages Received average value" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdAvg", prop) prop = PropMeta("str", "notifRcvdCum", "notifRcvdCum", 48077, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Notification Messages Received cumulative" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdCum", prop) prop = PropMeta("str", "notifRcvdMax", "notifRcvdMax", 48080, PropCategory.IMPLICIT_MAX) prop.label = "Number of Notification Messages Received maximum value" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdMax", prop) prop = PropMeta("str", "notifRcvdMin", "notifRcvdMin", 48079, PropCategory.IMPLICIT_MIN) prop.label = "Number of Notification Messages Received minimum value" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdMin", prop) prop = PropMeta("str", "notifRcvdPer", "notifRcvdPer", 48078, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Notification Messages Received periodic" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdPer", prop) prop = PropMeta("str", "notifRcvdRate", "notifRcvdRate", 48085, PropCategory.IMPLICIT_RATE) prop.label = "Number of Notification Messages Received rate" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdRate", prop) prop = PropMeta("str", "notifRcvdSpct", "notifRcvdSpct", 48082, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Notification Messages Received suspect count" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdSpct", prop) prop = PropMeta("str", "notifRcvdThr", "notifRcvdThr", 48083, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Notification Messages Received thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("notifRcvdThr", prop) prop = PropMeta("str", "notifRcvdTr", "notifRcvdTr", 48084, PropCategory.IMPLICIT_TREND) prop.label = "Number of Notification Messages Received trend" prop.isOper = True prop.isStats = True meta.props.add("notifRcvdTr", prop) prop = PropMeta("str", "notifSentAvg", "notifSentAvg", 48102, PropCategory.IMPLICIT_AVG) prop.label = "Number of Notification Messages Sent average value" prop.isOper = True prop.isStats = True meta.props.add("notifSentAvg", prop) prop = PropMeta("str", "notifSentCum", "notifSentCum", 48098, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Notification Messages Sent cumulative" prop.isOper = True prop.isStats = True meta.props.add("notifSentCum", prop) prop = PropMeta("str", "notifSentMax", "notifSentMax", 48101, PropCategory.IMPLICIT_MAX) prop.label = "Number of Notification Messages Sent maximum value" prop.isOper = True prop.isStats = True meta.props.add("notifSentMax", prop) prop = PropMeta("str", "notifSentMin", "notifSentMin", 48100, PropCategory.IMPLICIT_MIN) prop.label = "Number of Notification Messages Sent minimum value" prop.isOper = True prop.isStats = True meta.props.add("notifSentMin", prop) prop = PropMeta("str", "notifSentPer", "notifSentPer", 48099, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Notification Messages Sent periodic" prop.isOper = True prop.isStats = True meta.props.add("notifSentPer", prop) prop = PropMeta("str", "notifSentRate", "notifSentRate", 48106, PropCategory.IMPLICIT_RATE) prop.label = "Number of Notification Messages Sent rate" prop.isOper = True prop.isStats = True meta.props.add("notifSentRate", prop) prop = PropMeta("str", "notifSentSpct", "notifSentSpct", 48103, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Notification Messages Sent suspect count" prop.isOper = True prop.isStats = True meta.props.add("notifSentSpct", prop) prop = PropMeta("str", "notifSentThr", "notifSentThr", 48104, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Notification Messages Sent thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("notifSentThr", prop) prop = PropMeta("str", "notifSentTr", "notifSentTr", 48105, PropCategory.IMPLICIT_TREND) prop.label = "Number of Notification Messages Sent trend" prop.isOper = True prop.isStats = True meta.props.add("notifSentTr", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) meta.namingProps.append(getattr(meta.props, "index")) def __init__(self, parentMoOrDn, index, markDirty=True, **creationProps): namingVals = [index] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class RcvdPktsHist(Mo): meta = StatsClassMeta("cobra.model.comp.RcvdPktsHist", "received packets") counter = CounterMeta("mcast", CounterCategory.COUNTER, "packets", "received multicast packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "mcastCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "mcastPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "mcastMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "mcastMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "mcastAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "mcastSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "mcastThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "mcastTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "mcastRate" meta._counters.append(counter) counter = CounterMeta("bcast", CounterCategory.COUNTER, "packets", "received broadcast packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "bcastCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "bcastPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "bcastMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "bcastMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "bcastAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "bcastSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "bcastThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "bcastTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "bcastRate" meta._counters.append(counter) counter = CounterMeta("total", CounterCategory.COUNTER, "packets", "received packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "totalCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "totalPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "totalMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "totalMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "totalAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "totalSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "totalThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "totalTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "totalRate" meta._counters.append(counter) meta.isAbstract = True meta.moClassName = "compRcvdPktsHist" meta.moClassName = "compRcvdPktsHist" meta.rnFormat = "" meta.category = MoCategory.STATS_HISTORY meta.label = "historical received packets stats" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = False meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Hist") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist1qtr") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist1w") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist15min") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist1h") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist1d") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist1mo") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist5min") meta.concreteSubClasses.add("cobra.model.comp.RcvdPktsHist1year") meta.rnPrefixes = [] prop = PropMeta("str", "bcastAvg", "bcastAvg", 7665, PropCategory.IMPLICIT_AVG) prop.label = "received broadcast packets average value" prop.isOper = True prop.isStats = True meta.props.add("bcastAvg", prop) prop = PropMeta("str", "bcastCum", "bcastCum", 7661, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "received broadcast packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("bcastCum", prop) prop = PropMeta("str", "bcastMax", "bcastMax", 7664, PropCategory.IMPLICIT_MAX) prop.label = "received broadcast packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("bcastMax", prop) prop = PropMeta("str", "bcastMin", "bcastMin", 7663, PropCategory.IMPLICIT_MIN) prop.label = "received broadcast packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("bcastMin", prop) prop = PropMeta("str", "bcastPer", "bcastPer", 7662, PropCategory.IMPLICIT_PERIODIC) prop.label = "received broadcast packets periodic" prop.isOper = True prop.isStats = True meta.props.add("bcastPer", prop) prop = PropMeta("str", "bcastRate", "bcastRate", 7669, PropCategory.IMPLICIT_RATE) prop.label = "received broadcast packets rate" prop.isOper = True prop.isStats = True meta.props.add("bcastRate", prop) prop = PropMeta("str", "bcastSpct", "bcastSpct", 7666, PropCategory.IMPLICIT_SUSPECT) prop.label = "received broadcast packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("bcastSpct", prop) prop = PropMeta("str", "bcastThr", "bcastThr", 7667, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "received broadcast packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("bcastThr", prop) prop = PropMeta("str", "bcastTr", "bcastTr", 7668, PropCategory.IMPLICIT_TREND) prop.label = "received broadcast packets trend" prop.isOper = True prop.isStats = True meta.props.add("bcastTr", prop) prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "index", "index", 115, PropCategory.REGULAR) prop.label = "History Index" prop.isImplicit = True prop.isAdmin = True meta.props.add("index", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "mcastAvg", "mcastAvg", 7686, PropCategory.IMPLICIT_AVG) prop.label = "received multicast packets average value" prop.isOper = True prop.isStats = True meta.props.add("mcastAvg", prop) prop = PropMeta("str", "mcastCum", "mcastCum", 7682, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "received multicast packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("mcastCum", prop) prop = PropMeta("str", "mcastMax", "mcastMax", 7685, PropCategory.IMPLICIT_MAX) prop.label = "received multicast packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("mcastMax", prop) prop = PropMeta("str", "mcastMin", "mcastMin", 7684, PropCategory.IMPLICIT_MIN) prop.label = "received multicast packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("mcastMin", prop) prop = PropMeta("str", "mcastPer", "mcastPer", 7683, PropCategory.IMPLICIT_PERIODIC) prop.label = "received multicast packets periodic" prop.isOper = True prop.isStats = True meta.props.add("mcastPer", prop) prop = PropMeta("str", "mcastRate", "mcastRate", 7690, PropCategory.IMPLICIT_RATE) prop.label = "received multicast packets rate" prop.isOper = True prop.isStats = True meta.props.add("mcastRate", prop) prop = PropMeta("str", "mcastSpct", "mcastSpct", 7687, PropCategory.IMPLICIT_SUSPECT) prop.label = "received multicast packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("mcastSpct", prop) prop = PropMeta("str", "mcastThr", "mcastThr", 7688, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "received multicast packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("mcastThr", prop) prop = PropMeta("str", "mcastTr", "mcastTr", 7689, PropCategory.IMPLICIT_TREND) prop.label = "received multicast packets trend" prop.isOper = True prop.isStats = True meta.props.add("mcastTr", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) prop = PropMeta("str", "totalAvg", "totalAvg", 7707, PropCategory.IMPLICIT_AVG) prop.label = "received packets average value" prop.isOper = True prop.isStats = True meta.props.add("totalAvg", prop) prop = PropMeta("str", "totalCum", "totalCum", 7703, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "received packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("totalCum", prop) prop = PropMeta("str", "totalMax", "totalMax", 7706, PropCategory.IMPLICIT_MAX) prop.label = "received packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("totalMax", prop) prop = PropMeta("str", "totalMin", "totalMin", 7705, PropCategory.IMPLICIT_MIN) prop.label = "received packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("totalMin", prop) prop = PropMeta("str", "totalPer", "totalPer", 7704, PropCategory.IMPLICIT_PERIODIC) prop.label = "received packets periodic" prop.isOper = True prop.isStats = True meta.props.add("totalPer", prop) prop = PropMeta("str", "totalRate", "totalRate", 7711, PropCategory.IMPLICIT_RATE) prop.label = "received packets rate" prop.isOper = True prop.isStats = True meta.props.add("totalRate", prop) prop = PropMeta("str", "totalSpct", "totalSpct", 7708, PropCategory.IMPLICIT_SUSPECT) prop.label = "received packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("totalSpct", prop) prop = PropMeta("str", "totalThr", "totalThr", 7709, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "received packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("totalThr", prop) prop = PropMeta("str", "totalTr", "totalTr", 7710, PropCategory.IMPLICIT_TREND) prop.label = "received packets trend" prop.isOper = True prop.isStats = True meta.props.add("totalTr", prop) def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class RcvdBytes5min(Mo): """ A class that represents the most current statistics for received bytes in a 5 minute sampling interval. This class updates every 10 seconds. """ meta = StatsClassMeta("cobra.model.comp.RcvdBytes5min", "received bytes") counter = CounterMeta("usage", CounterCategory.GAUGE, "bytes-per-second", "received rate") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "usageLast" counter._propRefs[PropCategory.IMPLICIT_MIN] = "usageMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "usageMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "usageAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "usageSpct" counter._propRefs[PropCategory.IMPLICIT_TOTAL] = "usageTtl" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "usageThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "usageTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "usageTr" meta._counters.append(counter) meta.moClassName = "compRcvdBytes5min" meta.rnFormat = "CDcompRcvdBytes5min" meta.category = MoCategory.STATS_CURRENT meta.label = "current received bytes stats in 5 minute" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = False meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Curr") meta.superClasses.add("cobra.model.comp.RcvdBytes") meta.rnPrefixes = [ ('CDcompRcvdBytes5min', False), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) prop = PropMeta("str", "usageAvg", "usageAvg", 7592, PropCategory.IMPLICIT_AVG) prop.label = "received rate average value" prop.isOper = True prop.isStats = True meta.props.add("usageAvg", prop) prop = PropMeta("str", "usageLast", "usageLast", 7586, PropCategory.IMPLICIT_LASTREADING) prop.label = "received rate current value" prop.isOper = True prop.isStats = True meta.props.add("usageLast", prop) prop = PropMeta("str", "usageMax", "usageMax", 7591, PropCategory.IMPLICIT_MAX) prop.label = "received rate maximum value" prop.isOper = True prop.isStats = True meta.props.add("usageMax", prop) prop = PropMeta("str", "usageMin", "usageMin", 7590, PropCategory.IMPLICIT_MIN) prop.label = "received rate minimum value" prop.isOper = True prop.isStats = True meta.props.add("usageMin", prop) prop = PropMeta("str", "usageSpct", "usageSpct", 7593, PropCategory.IMPLICIT_SUSPECT) prop.label = "received rate suspect count" prop.isOper = True prop.isStats = True meta.props.add("usageSpct", prop) prop = PropMeta("str", "usageThr", "usageThr", 7594, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "received rate thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("usageThr", prop) prop = PropMeta("str", "usageTr", "usageTr", 7596, PropCategory.IMPLICIT_TREND) prop.label = "received rate trend" prop.isOper = True prop.isStats = True meta.props.add("usageTr", prop) prop = PropMeta("str", "usageTrBase", "usageTrBase", 7595, PropCategory.IMPLICIT_TREND_BASE) prop.label = "received rate trend baseline" prop.isOper = True prop.isStats = True meta.props.add("usageTrBase", prop) prop = PropMeta("str", "usageTtl", "usageTtl", 16362, PropCategory.IMPLICIT_TOTAL) prop.label = "received rate total sum" prop.isOper = True prop.isStats = True meta.props.add("usageTtl", prop) def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class BgpDrop(Mo): meta = StatsClassMeta("cobra.model.copp.BgpDrop", "Per Interface Drop Counters for Bgp") counter = CounterMeta("bytesRate", CounterCategory.GAUGE, "bytes-per-second", "BgpDropped Bytes rate") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "bytesRateLast" counter._propRefs[PropCategory.IMPLICIT_MIN] = "bytesRateMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "bytesRateMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "bytesRateAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "bytesRateSpct" counter._propRefs[PropCategory.IMPLICIT_TOTAL] = "bytesRateTtl" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "bytesRateThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "bytesRateTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "bytesRateTr" meta._counters.append(counter) counter = CounterMeta("bytes", CounterCategory.COUNTER, "bytes", "BgpDropped Bytes") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "bytesLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "bytesCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "bytesPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "bytesMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "bytesMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "bytesAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "bytesSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "bytesBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "bytesThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "bytesTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "bytesTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "bytesRate" meta._counters.append(counter) counter = CounterMeta("pktsRate", CounterCategory.GAUGE, "packets-per-second", "BgpDropped Packets rate") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "pktsRateLast" counter._propRefs[PropCategory.IMPLICIT_MIN] = "pktsRateMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "pktsRateMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "pktsRateAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pktsRateSpct" counter._propRefs[PropCategory.IMPLICIT_TOTAL] = "pktsRateTtl" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pktsRateThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "pktsRateTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pktsRateTr" meta._counters.append(counter) counter = CounterMeta("pkts", CounterCategory.COUNTER, "packets", "BgpDropped Packets") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "pktsLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "pktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "pktsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "pktsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "pktsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "pktsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pktsSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "pktsBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "pktsTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "pktsRate" meta._counters.append(counter) meta.isAbstract = True meta.moClassName = "coppBgpDrop" meta.moClassName = "coppBgpDrop" meta.rnFormat = "" meta.category = MoCategory.STATS_CURRENT meta.label = "current Per Interface Drop Counters for Bgp stats" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = False meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Curr") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop1w") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop5min") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop15min") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop1d") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop1mo") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop1qtr") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop1h") meta.concreteSubClasses.add("cobra.model.copp.BgpDrop1year") meta.rnPrefixes = [] prop = PropMeta("str", "bytesAvg", "bytesAvg", 31626, PropCategory.IMPLICIT_AVG) prop.label = "BgpDropped Bytes average value" prop.isOper = True prop.isStats = True meta.props.add("bytesAvg", prop) prop = PropMeta("str", "bytesBase", "bytesBase", 31621, PropCategory.IMPLICIT_BASELINE) prop.label = "BgpDropped Bytes baseline" prop.isOper = True prop.isStats = True meta.props.add("bytesBase", prop) prop = PropMeta("str", "bytesCum", "bytesCum", 31622, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "BgpDropped Bytes cumulative" prop.isOper = True prop.isStats = True meta.props.add("bytesCum", prop) prop = PropMeta("str", "bytesLast", "bytesLast", 31620, PropCategory.IMPLICIT_LASTREADING) prop.label = "BgpDropped Bytes current value" prop.isOper = True prop.isStats = True meta.props.add("bytesLast", prop) prop = PropMeta("str", "bytesMax", "bytesMax", 31625, PropCategory.IMPLICIT_MAX) prop.label = "BgpDropped Bytes maximum value" prop.isOper = True prop.isStats = True meta.props.add("bytesMax", prop) prop = PropMeta("str", "bytesMin", "bytesMin", 31624, PropCategory.IMPLICIT_MIN) prop.label = "BgpDropped Bytes minimum value" prop.isOper = True prop.isStats = True meta.props.add("bytesMin", prop) prop = PropMeta("str", "bytesPer", "bytesPer", 31623, PropCategory.IMPLICIT_PERIODIC) prop.label = "BgpDropped Bytes periodic" prop.isOper = True prop.isStats = True meta.props.add("bytesPer", prop) prop = PropMeta("str", "bytesRate", "bytesRate", 31631, PropCategory.IMPLICIT_RATE) prop.label = "BgpDropped Bytes rate" prop.isOper = True prop.isStats = True meta.props.add("bytesRate", prop) prop = PropMeta("str", "bytesRateAvg", "bytesRateAvg", 31644, PropCategory.IMPLICIT_AVG) prop.label = "BgpDropped Bytes rate average value" prop.isOper = True prop.isStats = True meta.props.add("bytesRateAvg", prop) prop = PropMeta("str", "bytesRateLast", "bytesRateLast", 31641, PropCategory.IMPLICIT_LASTREADING) prop.label = "BgpDropped Bytes rate current value" prop.isOper = True prop.isStats = True meta.props.add("bytesRateLast", prop) prop = PropMeta("str", "bytesRateMax", "bytesRateMax", 31643, PropCategory.IMPLICIT_MAX) prop.label = "BgpDropped Bytes rate maximum value" prop.isOper = True prop.isStats = True meta.props.add("bytesRateMax", prop) prop = PropMeta("str", "bytesRateMin", "bytesRateMin", 31642, PropCategory.IMPLICIT_MIN) prop.label = "BgpDropped Bytes rate minimum value" prop.isOper = True prop.isStats = True meta.props.add("bytesRateMin", prop) prop = PropMeta("str", "bytesRateSpct", "bytesRateSpct", 31645, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpDropped Bytes rate suspect count" prop.isOper = True prop.isStats = True meta.props.add("bytesRateSpct", prop) prop = PropMeta("str", "bytesRateThr", "bytesRateThr", 31647, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpDropped Bytes rate thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("bytesRateThr", prop) prop = PropMeta("str", "bytesRateTr", "bytesRateTr", 31649, PropCategory.IMPLICIT_TREND) prop.label = "BgpDropped Bytes rate trend" prop.isOper = True prop.isStats = True meta.props.add("bytesRateTr", prop) prop = PropMeta("str", "bytesRateTrBase", "bytesRateTrBase", 31648, PropCategory.IMPLICIT_TREND_BASE) prop.label = "BgpDropped Bytes rate trend baseline" prop.isOper = True prop.isStats = True meta.props.add("bytesRateTrBase", prop) prop = PropMeta("str", "bytesRateTtl", "bytesRateTtl", 31646, PropCategory.IMPLICIT_TOTAL) prop.label = "BgpDropped Bytes rate total sum" prop.isOper = True prop.isStats = True meta.props.add("bytesRateTtl", prop) prop = PropMeta("str", "bytesSpct", "bytesSpct", 31627, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpDropped Bytes suspect count" prop.isOper = True prop.isStats = True meta.props.add("bytesSpct", prop) prop = PropMeta("str", "bytesThr", "bytesThr", 31628, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpDropped Bytes thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("bytesThr", prop) prop = PropMeta("str", "bytesTr", "bytesTr", 31630, PropCategory.IMPLICIT_TREND) prop.label = "BgpDropped Bytes trend" prop.isOper = True prop.isStats = True meta.props.add("bytesTr", prop) prop = PropMeta("str", "bytesTrBase", "bytesTrBase", 31629, PropCategory.IMPLICIT_TREND_BASE) prop.label = "BgpDropped Bytes trend baseline" prop.isOper = True prop.isStats = True meta.props.add("bytesTrBase", prop) prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "pktsAvg", "pktsAvg", 31662, PropCategory.IMPLICIT_AVG) prop.label = "BgpDropped Packets average value" prop.isOper = True prop.isStats = True meta.props.add("pktsAvg", prop) prop = PropMeta("str", "pktsBase", "pktsBase", 31657, PropCategory.IMPLICIT_BASELINE) prop.label = "BgpDropped Packets baseline" prop.isOper = True prop.isStats = True meta.props.add("pktsBase", prop) prop = PropMeta("str", "pktsCum", "pktsCum", 31658, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "BgpDropped Packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("pktsCum", prop) prop = PropMeta("str", "pktsLast", "pktsLast", 31656, PropCategory.IMPLICIT_LASTREADING) prop.label = "BgpDropped Packets current value" prop.isOper = True prop.isStats = True meta.props.add("pktsLast", prop) prop = PropMeta("str", "pktsMax", "pktsMax", 31661, PropCategory.IMPLICIT_MAX) prop.label = "BgpDropped Packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("pktsMax", prop) prop = PropMeta("str", "pktsMin", "pktsMin", 31660, PropCategory.IMPLICIT_MIN) prop.label = "BgpDropped Packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("pktsMin", prop) prop = PropMeta("str", "pktsPer", "pktsPer", 31659, PropCategory.IMPLICIT_PERIODIC) prop.label = "BgpDropped Packets periodic" prop.isOper = True prop.isStats = True meta.props.add("pktsPer", prop) prop = PropMeta("str", "pktsRate", "pktsRate", 31667, PropCategory.IMPLICIT_RATE) prop.label = "BgpDropped Packets rate" prop.isOper = True prop.isStats = True meta.props.add("pktsRate", prop) prop = PropMeta("str", "pktsRateAvg", "pktsRateAvg", 31680, PropCategory.IMPLICIT_AVG) prop.label = "BgpDropped Packets rate average value" prop.isOper = True prop.isStats = True meta.props.add("pktsRateAvg", prop) prop = PropMeta("str", "pktsRateLast", "pktsRateLast", 31677, PropCategory.IMPLICIT_LASTREADING) prop.label = "BgpDropped Packets rate current value" prop.isOper = True prop.isStats = True meta.props.add("pktsRateLast", prop) prop = PropMeta("str", "pktsRateMax", "pktsRateMax", 31679, PropCategory.IMPLICIT_MAX) prop.label = "BgpDropped Packets rate maximum value" prop.isOper = True prop.isStats = True meta.props.add("pktsRateMax", prop) prop = PropMeta("str", "pktsRateMin", "pktsRateMin", 31678, PropCategory.IMPLICIT_MIN) prop.label = "BgpDropped Packets rate minimum value" prop.isOper = True prop.isStats = True meta.props.add("pktsRateMin", prop) prop = PropMeta("str", "pktsRateSpct", "pktsRateSpct", 31681, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpDropped Packets rate suspect count" prop.isOper = True prop.isStats = True meta.props.add("pktsRateSpct", prop) prop = PropMeta("str", "pktsRateThr", "pktsRateThr", 31683, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpDropped Packets rate thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pktsRateThr", prop) prop = PropMeta("str", "pktsRateTr", "pktsRateTr", 31685, PropCategory.IMPLICIT_TREND) prop.label = "BgpDropped Packets rate trend" prop.isOper = True prop.isStats = True meta.props.add("pktsRateTr", prop) prop = PropMeta("str", "pktsRateTrBase", "pktsRateTrBase", 31684, PropCategory.IMPLICIT_TREND_BASE) prop.label = "BgpDropped Packets rate trend baseline" prop.isOper = True prop.isStats = True meta.props.add("pktsRateTrBase", prop) prop = PropMeta("str", "pktsRateTtl", "pktsRateTtl", 31682, PropCategory.IMPLICIT_TOTAL) prop.label = "BgpDropped Packets rate total sum" prop.isOper = True prop.isStats = True meta.props.add("pktsRateTtl", prop) prop = PropMeta("str", "pktsSpct", "pktsSpct", 31663, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpDropped Packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("pktsSpct", prop) prop = PropMeta("str", "pktsThr", "pktsThr", 31664, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpDropped Packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pktsThr", prop) prop = PropMeta("str", "pktsTr", "pktsTr", 31666, PropCategory.IMPLICIT_TREND) prop.label = "BgpDropped Packets trend" prop.isOper = True prop.isStats = True meta.props.add("pktsTr", prop) prop = PropMeta("str", "pktsTrBase", "pktsTrBase", 31665, PropCategory.IMPLICIT_TREND_BASE) prop.label = "BgpDropped Packets trend baseline" prop.isOper = True prop.isStats = True meta.props.add("pktsTrBase", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class PduStats1d(Mo): """ Mo doc not defined in techpub!!! """ meta = StatsClassMeta("cobra.model.bfd.PduStats1d", "BFD Session Stats") counter = CounterMeta("flaps", CounterCategory.COUNTER, "", "Number of BFD Session Flaps") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "flapsLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "flapsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "flapsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "flapsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "flapsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "flapsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "flapsSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "flapsBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "flapsThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "flapsTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "flapsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "flapsRate" meta._counters.append(counter) counter = CounterMeta("pduSent", CounterCategory.COUNTER, "packets", "Packets Transmitted") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "pduSentLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "pduSentCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "pduSentPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "pduSentMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "pduSentMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "pduSentAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pduSentSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "pduSentBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pduSentThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "pduSentTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pduSentTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "pduSentRate" meta._counters.append(counter) counter = CounterMeta("pduRcvd", CounterCategory.COUNTER, "packets", "Packets Received") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "pduRcvdLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "pduRcvdCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "pduRcvdPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "pduRcvdMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "pduRcvdMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "pduRcvdAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pduRcvdSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "pduRcvdBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pduRcvdThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "pduRcvdTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pduRcvdTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "pduRcvdRate" meta._counters.append(counter) meta.moClassName = "bfdPduStats1d" meta.rnFormat = "CDbfdPduStats1d" meta.category = MoCategory.STATS_CURRENT meta.label = "current BFD Session Stats stats in 1 day" meta.writeAccessMask = 0x8008020040001 meta.readAccessMask = 0x8008020040001 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = True meta.parentClasses.add("cobra.model.bfd.SessStats") meta.superClasses.add("cobra.model.bfd.PduStats") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Curr") meta.rnPrefixes = [ ('CDbfdPduStats1d', False), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "flapsAvg", "flapsAvg", 49655, PropCategory.IMPLICIT_AVG) prop.label = "Number of BFD Session Flaps average value" prop.isOper = True prop.isStats = True meta.props.add("flapsAvg", prop) prop = PropMeta("str", "flapsBase", "flapsBase", 49650, PropCategory.IMPLICIT_BASELINE) prop.label = "Number of BFD Session Flaps baseline" prop.isOper = True prop.isStats = True meta.props.add("flapsBase", prop) prop = PropMeta("str", "flapsCum", "flapsCum", 49651, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of BFD Session Flaps cumulative" prop.isOper = True prop.isStats = True meta.props.add("flapsCum", prop) prop = PropMeta("str", "flapsLast", "flapsLast", 49649, PropCategory.IMPLICIT_LASTREADING) prop.label = "Number of BFD Session Flaps current value" prop.isOper = True prop.isStats = True meta.props.add("flapsLast", prop) prop = PropMeta("str", "flapsMax", "flapsMax", 49654, PropCategory.IMPLICIT_MAX) prop.label = "Number of BFD Session Flaps maximum value" prop.isOper = True prop.isStats = True meta.props.add("flapsMax", prop) prop = PropMeta("str", "flapsMin", "flapsMin", 49653, PropCategory.IMPLICIT_MIN) prop.label = "Number of BFD Session Flaps minimum value" prop.isOper = True prop.isStats = True meta.props.add("flapsMin", prop) prop = PropMeta("str", "flapsPer", "flapsPer", 49652, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of BFD Session Flaps periodic" prop.isOper = True prop.isStats = True meta.props.add("flapsPer", prop) prop = PropMeta("str", "flapsRate", "flapsRate", 49660, PropCategory.IMPLICIT_RATE) prop.label = "Number of BFD Session Flaps rate" prop.isOper = True prop.isStats = True meta.props.add("flapsRate", prop) prop = PropMeta("str", "flapsSpct", "flapsSpct", 49656, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of BFD Session Flaps suspect count" prop.isOper = True prop.isStats = True meta.props.add("flapsSpct", prop) prop = PropMeta("str", "flapsThr", "flapsThr", 49657, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of BFD Session Flaps thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("flapsThr", prop) prop = PropMeta("str", "flapsTr", "flapsTr", 49659, PropCategory.IMPLICIT_TREND) prop.label = "Number of BFD Session Flaps trend" prop.isOper = True prop.isStats = True meta.props.add("flapsTr", prop) prop = PropMeta("str", "flapsTrBase", "flapsTrBase", 49658, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Number of BFD Session Flaps trend baseline" prop.isOper = True prop.isStats = True meta.props.add("flapsTrBase", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "pduRcvdAvg", "pduRcvdAvg", 49676, PropCategory.IMPLICIT_AVG) prop.label = "Packets Received average value" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdAvg", prop) prop = PropMeta("str", "pduRcvdBase", "pduRcvdBase", 49671, PropCategory.IMPLICIT_BASELINE) prop.label = "Packets Received baseline" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdBase", prop) prop = PropMeta("str", "pduRcvdCum", "pduRcvdCum", 49672, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Packets Received cumulative" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdCum", prop) prop = PropMeta("str", "pduRcvdLast", "pduRcvdLast", 49670, PropCategory.IMPLICIT_LASTREADING) prop.label = "Packets Received current value" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdLast", prop) prop = PropMeta("str", "pduRcvdMax", "pduRcvdMax", 49675, PropCategory.IMPLICIT_MAX) prop.label = "Packets Received maximum value" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdMax", prop) prop = PropMeta("str", "pduRcvdMin", "pduRcvdMin", 49674, PropCategory.IMPLICIT_MIN) prop.label = "Packets Received minimum value" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdMin", prop) prop = PropMeta("str", "pduRcvdPer", "pduRcvdPer", 49673, PropCategory.IMPLICIT_PERIODIC) prop.label = "Packets Received periodic" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdPer", prop) prop = PropMeta("str", "pduRcvdRate", "pduRcvdRate", 49681, PropCategory.IMPLICIT_RATE) prop.label = "Packets Received rate" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdRate", prop) prop = PropMeta("str", "pduRcvdSpct", "pduRcvdSpct", 49677, PropCategory.IMPLICIT_SUSPECT) prop.label = "Packets Received suspect count" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdSpct", prop) prop = PropMeta("str", "pduRcvdThr", "pduRcvdThr", 49678, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Packets Received thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pduRcvdThr", prop) prop = PropMeta("str", "pduRcvdTr", "pduRcvdTr", 49680, PropCategory.IMPLICIT_TREND) prop.label = "Packets Received trend" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdTr", prop) prop = PropMeta("str", "pduRcvdTrBase", "pduRcvdTrBase", 49679, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Packets Received trend baseline" prop.isOper = True prop.isStats = True meta.props.add("pduRcvdTrBase", prop) prop = PropMeta("str", "pduSentAvg", "pduSentAvg", 49697, PropCategory.IMPLICIT_AVG) prop.label = "Packets Transmitted average value" prop.isOper = True prop.isStats = True meta.props.add("pduSentAvg", prop) prop = PropMeta("str", "pduSentBase", "pduSentBase", 49692, PropCategory.IMPLICIT_BASELINE) prop.label = "Packets Transmitted baseline" prop.isOper = True prop.isStats = True meta.props.add("pduSentBase", prop) prop = PropMeta("str", "pduSentCum", "pduSentCum", 49693, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Packets Transmitted cumulative" prop.isOper = True prop.isStats = True meta.props.add("pduSentCum", prop) prop = PropMeta("str", "pduSentLast", "pduSentLast", 49691, PropCategory.IMPLICIT_LASTREADING) prop.label = "Packets Transmitted current value" prop.isOper = True prop.isStats = True meta.props.add("pduSentLast", prop) prop = PropMeta("str", "pduSentMax", "pduSentMax", 49696, PropCategory.IMPLICIT_MAX) prop.label = "Packets Transmitted maximum value" prop.isOper = True prop.isStats = True meta.props.add("pduSentMax", prop) prop = PropMeta("str", "pduSentMin", "pduSentMin", 49695, PropCategory.IMPLICIT_MIN) prop.label = "Packets Transmitted minimum value" prop.isOper = True prop.isStats = True meta.props.add("pduSentMin", prop) prop = PropMeta("str", "pduSentPer", "pduSentPer", 49694, PropCategory.IMPLICIT_PERIODIC) prop.label = "Packets Transmitted periodic" prop.isOper = True prop.isStats = True meta.props.add("pduSentPer", prop) prop = PropMeta("str", "pduSentRate", "pduSentRate", 49702, PropCategory.IMPLICIT_RATE) prop.label = "Packets Transmitted rate" prop.isOper = True prop.isStats = True meta.props.add("pduSentRate", prop) prop = PropMeta("str", "pduSentSpct", "pduSentSpct", 49698, PropCategory.IMPLICIT_SUSPECT) prop.label = "Packets Transmitted suspect count" prop.isOper = True prop.isStats = True meta.props.add("pduSentSpct", prop) prop = PropMeta("str", "pduSentThr", "pduSentThr", 49699, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Packets Transmitted thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pduSentThr", prop) prop = PropMeta("str", "pduSentTr", "pduSentTr", 49701, PropCategory.IMPLICIT_TREND) prop.label = "Packets Transmitted trend" prop.isOper = True prop.isStats = True meta.props.add("pduSentTr", prop) prop = PropMeta("str", "pduSentTrBase", "pduSentTrBase", 49700, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Packets Transmitted trend baseline" prop.isOper = True prop.isStats = True meta.props.add("pduSentTrBase", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class RuleHitAgHist15min(Mo): """ A class that represents historical aggregated statistics for rule hits in a 15 minute sampling interval. This class updates every 5 minutes. """ meta = StatsClassMeta("cobra.model.actrl.RuleHitAgHist15min", "rule hits") counter = CounterMeta("revPkts", CounterCategory.COUNTER, "packets", "reverse hit packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "revPktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "revPktsPer" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "revPktsSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "revPktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "revPktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "revPktsRate" meta._counters.append(counter) counter = CounterMeta("pkts", CounterCategory.COUNTER, "packets", "hit packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "pktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "pktsPer" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pktsSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "pktsRate" meta._counters.append(counter) counter = CounterMeta("egrPkts", CounterCategory.COUNTER, "packets", "egress hit packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "egrPktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "egrPktsPer" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "egrPktsSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "egrPktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "egrPktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "egrPktsRate" meta._counters.append(counter) counter = CounterMeta("ingrPkts", CounterCategory.COUNTER, "packets", "ingress hit packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "ingrPktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "ingrPktsPer" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "ingrPktsSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "ingrPktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "ingrPktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "ingrPktsRate" meta._counters.append(counter) meta.moClassName = "actrlRuleHitAgHist15min" meta.rnFormat = "HDactrlRuleHitAg15min-%(index)s" meta.category = MoCategory.STATS_HISTORY meta.label = "historical aggregated rule hits stats in 15 minute" meta.writeAccessMask = 0x601 meta.readAccessMask = 0x601 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = False meta.parentClasses.add("cobra.model.fv.RInfoHolder") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Hist") meta.superClasses.add("cobra.model.actrl.RuleHitAgHist") meta.rnPrefixes = [ ('HDactrlRuleHitAg15min-', True), ] prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "egrPktsCum", "egrPktsCum", 7483, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "egress hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("egrPktsCum", prop) prop = PropMeta("str", "egrPktsPer", "egrPktsPer", 7484, PropCategory.IMPLICIT_PERIODIC) prop.label = "egress hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("egrPktsPer", prop) prop = PropMeta("str", "egrPktsRate", "egrPktsRate", 7488, PropCategory.IMPLICIT_RATE) prop.label = "egress hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("egrPktsRate", prop) prop = PropMeta("str", "egrPktsSpct", "egrPktsSpct", 7485, PropCategory.IMPLICIT_SUSPECT) prop.label = "egress hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("egrPktsSpct", prop) prop = PropMeta("str", "egrPktsThr", "egrPktsThr", 7486, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "egress hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("egrPktsThr", prop) prop = PropMeta("str", "egrPktsTr", "egrPktsTr", 7487, PropCategory.IMPLICIT_TREND) prop.label = "egress hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("egrPktsTr", prop) prop = PropMeta("str", "index", "index", 5815, PropCategory.REGULAR) prop.label = "History Index" prop.isConfig = True prop.isAdmin = True prop.isCreateOnly = True prop.isNaming = True meta.props.add("index", prop) prop = PropMeta("str", "ingrPktsCum", "ingrPktsCum", 7544, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "ingress hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsCum", prop) prop = PropMeta("str", "ingrPktsPer", "ingrPktsPer", 7545, PropCategory.IMPLICIT_PERIODIC) prop.label = "ingress hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsPer", prop) prop = PropMeta("str", "ingrPktsRate", "ingrPktsRate", 7549, PropCategory.IMPLICIT_RATE) prop.label = "ingress hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsRate", prop) prop = PropMeta("str", "ingrPktsSpct", "ingrPktsSpct", 7546, PropCategory.IMPLICIT_SUSPECT) prop.label = "ingress hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsSpct", prop) prop = PropMeta("str", "ingrPktsThr", "ingrPktsThr", 7547, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "ingress hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("ingrPktsThr", prop) prop = PropMeta("str", "ingrPktsTr", "ingrPktsTr", 7548, PropCategory.IMPLICIT_TREND) prop.label = "ingress hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("ingrPktsTr", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "pktsCum", "pktsCum", 24188, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("pktsCum", prop) prop = PropMeta("str", "pktsPer", "pktsPer", 24189, PropCategory.IMPLICIT_PERIODIC) prop.label = "hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("pktsPer", prop) prop = PropMeta("str", "pktsRate", "pktsRate", 24193, PropCategory.IMPLICIT_RATE) prop.label = "hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("pktsRate", prop) prop = PropMeta("str", "pktsSpct", "pktsSpct", 24190, PropCategory.IMPLICIT_SUSPECT) prop.label = "hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("pktsSpct", prop) prop = PropMeta("str", "pktsThr", "pktsThr", 24191, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pktsThr", prop) prop = PropMeta("str", "pktsTr", "pktsTr", 24192, PropCategory.IMPLICIT_TREND) prop.label = "hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("pktsTr", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "revPktsCum", "revPktsCum", 24243, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "reverse hit packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("revPktsCum", prop) prop = PropMeta("str", "revPktsPer", "revPktsPer", 24244, PropCategory.IMPLICIT_PERIODIC) prop.label = "reverse hit packets periodic" prop.isOper = True prop.isStats = True meta.props.add("revPktsPer", prop) prop = PropMeta("str", "revPktsRate", "revPktsRate", 24248, PropCategory.IMPLICIT_RATE) prop.label = "reverse hit packets rate" prop.isOper = True prop.isStats = True meta.props.add("revPktsRate", prop) prop = PropMeta("str", "revPktsSpct", "revPktsSpct", 24245, PropCategory.IMPLICIT_SUSPECT) prop.label = "reverse hit packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("revPktsSpct", prop) prop = PropMeta("str", "revPktsThr", "revPktsThr", 24246, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "reverse hit packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("revPktsThr", prop) prop = PropMeta("str", "revPktsTr", "revPktsTr", 24247, PropCategory.IMPLICIT_TREND) prop.label = "reverse hit packets trend" prop.isOper = True prop.isStats = True meta.props.add("revPktsTr", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) meta.namingProps.append(getattr(meta.props, "index")) # Deployment Meta meta.deploymentQuery = True meta.deploymentType = "Ancestor" meta.deploymentQueryPaths.append( DeploymentPathMeta("ATgToGraphInst", "Graph Instances", "cobra.model.vns.GraphInst")) meta.deploymentQueryPaths.append( DeploymentPathMeta("AEPgToVirtualMachines", "Virtual Machines", "cobra.model.comp.Vm")) meta.deploymentQueryPaths.append( DeploymentPathMeta("MgmtInstPToNode", "External Management Network EPG to Node", "cobra.model.fv.Locale")) meta.deploymentQueryPaths.append( DeploymentPathMeta("OoBToNode", "Out-of-band Management EPG to Node", "cobra.model.fv.Locale")) meta.deploymentQueryPaths.append( DeploymentPathMeta("InBToNode", "Node", "cobra.model.fv.Locale")) meta.deploymentQueryPaths.append( DeploymentPathMeta("EPgToNwIf", "Interface", "cobra.model.nw.If")) meta.deploymentQueryPaths.append( DeploymentPathMeta("CtxToNwIf", "Private Network to Interface", "cobra.model.nw.If")) def __init__(self, parentMoOrDn, index, markDirty=True, **creationProps): namingVals = [index] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class BgpAllowHist1w(Mo): """ Mo doc not defined in techpub!!! """ meta = StatsClassMeta("cobra.model.copp.BgpAllowHist1w", "Per Interface Allow Counters for Bgp") counter = CounterMeta("bytesRate", CounterCategory.GAUGE, "bytes-per-second", "BgpAllowed Bytes rate") counter._propRefs[PropCategory.IMPLICIT_MIN] = "bytesRateMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "bytesRateMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "bytesRateAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "bytesRateSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "bytesRateThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "bytesRateTr" meta._counters.append(counter) counter = CounterMeta("bytes", CounterCategory.COUNTER, "bytes", "BgpAllowed Bytes") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "bytesCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "bytesPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "bytesMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "bytesMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "bytesAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "bytesSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "bytesThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "bytesTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "bytesRate" meta._counters.append(counter) counter = CounterMeta("pktsRate", CounterCategory.GAUGE, "packets-per-second", "BgpAllowed Packets rate") counter._propRefs[PropCategory.IMPLICIT_MIN] = "pktsRateMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "pktsRateMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "pktsRateAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pktsRateSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pktsRateThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pktsRateTr" meta._counters.append(counter) counter = CounterMeta("pkts", CounterCategory.COUNTER, "packets", "BgpAllowed Packets") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "pktsCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "pktsPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "pktsMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "pktsMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "pktsAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "pktsSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "pktsThr" counter._propRefs[PropCategory.IMPLICIT_TREND] = "pktsTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "pktsRate" meta._counters.append(counter) meta.moClassName = "coppBgpAllowHist1w" meta.rnFormat = "HDcoppBgpAllow1w-%(index)s" meta.category = MoCategory.STATS_HISTORY meta.label = "historical Per Interface Allow Counters for Bgp stats in 1 week" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = True meta.parentClasses.add("cobra.model.svi.If") meta.parentClasses.add("cobra.model.pc.AggrIf") meta.parentClasses.add("cobra.model.l1.PhysIf") meta.parentClasses.add("cobra.model.l3.RtdIf") meta.parentClasses.add("cobra.model.l3.EncRtdIf") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Hist") meta.superClasses.add("cobra.model.copp.BgpAllowHist") meta.rnPrefixes = [ ('HDcoppBgpAllow1w-', True), ] prop = PropMeta("str", "bytesAvg", "bytesAvg", 31564, PropCategory.IMPLICIT_AVG) prop.label = "BgpAllowed Bytes average value" prop.isOper = True prop.isStats = True meta.props.add("bytesAvg", prop) prop = PropMeta("str", "bytesCum", "bytesCum", 31560, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "BgpAllowed Bytes cumulative" prop.isOper = True prop.isStats = True meta.props.add("bytesCum", prop) prop = PropMeta("str", "bytesMax", "bytesMax", 31563, PropCategory.IMPLICIT_MAX) prop.label = "BgpAllowed Bytes maximum value" prop.isOper = True prop.isStats = True meta.props.add("bytesMax", prop) prop = PropMeta("str", "bytesMin", "bytesMin", 31562, PropCategory.IMPLICIT_MIN) prop.label = "BgpAllowed Bytes minimum value" prop.isOper = True prop.isStats = True meta.props.add("bytesMin", prop) prop = PropMeta("str", "bytesPer", "bytesPer", 31561, PropCategory.IMPLICIT_PERIODIC) prop.label = "BgpAllowed Bytes periodic" prop.isOper = True prop.isStats = True meta.props.add("bytesPer", prop) prop = PropMeta("str", "bytesRate", "bytesRate", 31568, PropCategory.IMPLICIT_RATE) prop.label = "BgpAllowed Bytes rate" prop.isOper = True prop.isStats = True meta.props.add("bytesRate", prop) prop = PropMeta("str", "bytesRateAvg", "bytesRateAvg", 31580, PropCategory.IMPLICIT_AVG) prop.label = "BgpAllowed Bytes rate average value" prop.isOper = True prop.isStats = True meta.props.add("bytesRateAvg", prop) prop = PropMeta("str", "bytesRateMax", "bytesRateMax", 31579, PropCategory.IMPLICIT_MAX) prop.label = "BgpAllowed Bytes rate maximum value" prop.isOper = True prop.isStats = True meta.props.add("bytesRateMax", prop) prop = PropMeta("str", "bytesRateMin", "bytesRateMin", 31578, PropCategory.IMPLICIT_MIN) prop.label = "BgpAllowed Bytes rate minimum value" prop.isOper = True prop.isStats = True meta.props.add("bytesRateMin", prop) prop = PropMeta("str", "bytesRateSpct", "bytesRateSpct", 31581, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpAllowed Bytes rate suspect count" prop.isOper = True prop.isStats = True meta.props.add("bytesRateSpct", prop) prop = PropMeta("str", "bytesRateThr", "bytesRateThr", 31582, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpAllowed Bytes rate thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("bytesRateThr", prop) prop = PropMeta("str", "bytesRateTr", "bytesRateTr", 31583, PropCategory.IMPLICIT_TREND) prop.label = "BgpAllowed Bytes rate trend" prop.isOper = True prop.isStats = True meta.props.add("bytesRateTr", prop) prop = PropMeta("str", "bytesSpct", "bytesSpct", 31565, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpAllowed Bytes suspect count" prop.isOper = True prop.isStats = True meta.props.add("bytesSpct", prop) prop = PropMeta("str", "bytesThr", "bytesThr", 31566, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpAllowed Bytes thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("bytesThr", prop) prop = PropMeta("str", "bytesTr", "bytesTr", 31567, PropCategory.IMPLICIT_TREND) prop.label = "BgpAllowed Bytes trend" prop.isOper = True prop.isStats = True meta.props.add("bytesTr", prop) prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "index", "index", 31145, PropCategory.REGULAR) prop.label = "History Index" prop.isConfig = True prop.isAdmin = True prop.isCreateOnly = True prop.isNaming = True meta.props.add("index", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "pktsAvg", "pktsAvg", 31600, PropCategory.IMPLICIT_AVG) prop.label = "BgpAllowed Packets average value" prop.isOper = True prop.isStats = True meta.props.add("pktsAvg", prop) prop = PropMeta("str", "pktsCum", "pktsCum", 31596, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "BgpAllowed Packets cumulative" prop.isOper = True prop.isStats = True meta.props.add("pktsCum", prop) prop = PropMeta("str", "pktsMax", "pktsMax", 31599, PropCategory.IMPLICIT_MAX) prop.label = "BgpAllowed Packets maximum value" prop.isOper = True prop.isStats = True meta.props.add("pktsMax", prop) prop = PropMeta("str", "pktsMin", "pktsMin", 31598, PropCategory.IMPLICIT_MIN) prop.label = "BgpAllowed Packets minimum value" prop.isOper = True prop.isStats = True meta.props.add("pktsMin", prop) prop = PropMeta("str", "pktsPer", "pktsPer", 31597, PropCategory.IMPLICIT_PERIODIC) prop.label = "BgpAllowed Packets periodic" prop.isOper = True prop.isStats = True meta.props.add("pktsPer", prop) prop = PropMeta("str", "pktsRate", "pktsRate", 31604, PropCategory.IMPLICIT_RATE) prop.label = "BgpAllowed Packets rate" prop.isOper = True prop.isStats = True meta.props.add("pktsRate", prop) prop = PropMeta("str", "pktsRateAvg", "pktsRateAvg", 31616, PropCategory.IMPLICIT_AVG) prop.label = "BgpAllowed Packets rate average value" prop.isOper = True prop.isStats = True meta.props.add("pktsRateAvg", prop) prop = PropMeta("str", "pktsRateMax", "pktsRateMax", 31615, PropCategory.IMPLICIT_MAX) prop.label = "BgpAllowed Packets rate maximum value" prop.isOper = True prop.isStats = True meta.props.add("pktsRateMax", prop) prop = PropMeta("str", "pktsRateMin", "pktsRateMin", 31614, PropCategory.IMPLICIT_MIN) prop.label = "BgpAllowed Packets rate minimum value" prop.isOper = True prop.isStats = True meta.props.add("pktsRateMin", prop) prop = PropMeta("str", "pktsRateSpct", "pktsRateSpct", 31617, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpAllowed Packets rate suspect count" prop.isOper = True prop.isStats = True meta.props.add("pktsRateSpct", prop) prop = PropMeta("str", "pktsRateThr", "pktsRateThr", 31618, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpAllowed Packets rate thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pktsRateThr", prop) prop = PropMeta("str", "pktsRateTr", "pktsRateTr", 31619, PropCategory.IMPLICIT_TREND) prop.label = "BgpAllowed Packets rate trend" prop.isOper = True prop.isStats = True meta.props.add("pktsRateTr", prop) prop = PropMeta("str", "pktsSpct", "pktsSpct", 31601, PropCategory.IMPLICIT_SUSPECT) prop.label = "BgpAllowed Packets suspect count" prop.isOper = True prop.isStats = True meta.props.add("pktsSpct", prop) prop = PropMeta("str", "pktsThr", "pktsThr", 31602, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "BgpAllowed Packets thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("pktsThr", prop) prop = PropMeta("str", "pktsTr", "pktsTr", 31603, PropCategory.IMPLICIT_TREND) prop.label = "BgpAllowed Packets trend" prop.isOper = True prop.isStats = True meta.props.add("pktsTr", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) meta.namingProps.append(getattr(meta.props, "index")) # Deployment Meta meta.deploymentQuery = True meta.deploymentType = "Ancestor" meta.deploymentQueryPaths.append(DeploymentPathMeta("l1EthIfToEPg", "EPG", "cobra.model.fv.EPg")) def __init__(self, parentMoOrDn, index, markDirty=True, **creationProps): namingVals = [index] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class PeerRoute(Mo): meta = StatsClassMeta("cobra.model.bgp.PeerRoute", "BGP Peer Route") counter = CounterMeta("capabilityRcvd", CounterCategory.COUNTER, "packets", "Number of Capability Messages Received") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "capabilityRcvdLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "capabilityRcvdCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "capabilityRcvdPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "capabilityRcvdMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "capabilityRcvdMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "capabilityRcvdAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "capabilityRcvdSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "capabilityRcvdBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "capabilityRcvdThr" counter._propRefs[ PropCategory.IMPLICIT_TREND_BASE] = "capabilityRcvdTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "capabilityRcvdTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "capabilityRcvdRate" meta._counters.append(counter) counter = CounterMeta("capabilitySent", CounterCategory.COUNTER, "packets", "Number of Capability Messages Sent") counter._propRefs[PropCategory.IMPLICIT_LASTREADING] = "capabilitySentLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "capabilitySentCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "capabilitySentPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "capabilitySentMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "capabilitySentMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "capabilitySentAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "capabilitySentSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "capabilitySentBase" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "capabilitySentThr" counter._propRefs[ PropCategory.IMPLICIT_TREND_BASE] = "capabilitySentTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "capabilitySentTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "capabilitySentRate" meta._counters.append(counter) counter = CounterMeta("routeRefreshRcvd", CounterCategory.COUNTER, "packets", "Number of Route Refresh Messages Received") counter._propRefs[ PropCategory.IMPLICIT_LASTREADING] = "routeRefreshRcvdLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "routeRefreshRcvdCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "routeRefreshRcvdPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "routeRefreshRcvdMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "routeRefreshRcvdMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "routeRefreshRcvdAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "routeRefreshRcvdSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "routeRefreshRcvdBase" counter._propRefs[ PropCategory.IMPLICIT_THRESHOLDED] = "routeRefreshRcvdThr" counter._propRefs[ PropCategory.IMPLICIT_TREND_BASE] = "routeRefreshRcvdTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "routeRefreshRcvdTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "routeRefreshRcvdRate" meta._counters.append(counter) counter = CounterMeta("routeRefreshSent", CounterCategory.COUNTER, "packets", "Number of Route Refresh Messages Sent") counter._propRefs[ PropCategory.IMPLICIT_LASTREADING] = "routeRefreshSentLast" counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "routeRefreshSentCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "routeRefreshSentPer" counter._propRefs[PropCategory.IMPLICIT_MIN] = "routeRefreshSentMin" counter._propRefs[PropCategory.IMPLICIT_MAX] = "routeRefreshSentMax" counter._propRefs[PropCategory.IMPLICIT_AVG] = "routeRefreshSentAvg" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "routeRefreshSentSpct" counter._propRefs[PropCategory.IMPLICIT_BASELINE] = "routeRefreshSentBase" counter._propRefs[ PropCategory.IMPLICIT_THRESHOLDED] = "routeRefreshSentThr" counter._propRefs[ PropCategory.IMPLICIT_TREND_BASE] = "routeRefreshSentTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "routeRefreshSentTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "routeRefreshSentRate" meta._counters.append(counter) meta.isAbstract = True meta.moClassName = "bgpPeerRoute" meta.moClassName = "bgpPeerRoute" meta.rnFormat = "" meta.category = MoCategory.STATS_CURRENT meta.label = "current BGP Peer Route stats" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = False meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Curr") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute5min") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute1h") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute1d") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute1year") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute1qtr") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute15min") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute1w") meta.concreteSubClasses.add("cobra.model.bgp.PeerRoute1mo") meta.rnPrefixes = [] prop = PropMeta("str", "capabilityRcvdAvg", "capabilityRcvdAvg", 48197, PropCategory.IMPLICIT_AVG) prop.label = "Number of Capability Messages Received average value" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdAvg", prop) prop = PropMeta("str", "capabilityRcvdBase", "capabilityRcvdBase", 48192, PropCategory.IMPLICIT_BASELINE) prop.label = "Number of Capability Messages Received baseline" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdBase", prop) prop = PropMeta("str", "capabilityRcvdCum", "capabilityRcvdCum", 48193, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Capability Messages Received cumulative" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdCum", prop) prop = PropMeta("str", "capabilityRcvdLast", "capabilityRcvdLast", 48191, PropCategory.IMPLICIT_LASTREADING) prop.label = "Number of Capability Messages Received current value" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdLast", prop) prop = PropMeta("str", "capabilityRcvdMax", "capabilityRcvdMax", 48196, PropCategory.IMPLICIT_MAX) prop.label = "Number of Capability Messages Received maximum value" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdMax", prop) prop = PropMeta("str", "capabilityRcvdMin", "capabilityRcvdMin", 48195, PropCategory.IMPLICIT_MIN) prop.label = "Number of Capability Messages Received minimum value" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdMin", prop) prop = PropMeta("str", "capabilityRcvdPer", "capabilityRcvdPer", 48194, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Capability Messages Received periodic" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdPer", prop) prop = PropMeta("str", "capabilityRcvdRate", "capabilityRcvdRate", 48202, PropCategory.IMPLICIT_RATE) prop.label = "Number of Capability Messages Received rate" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdRate", prop) prop = PropMeta("str", "capabilityRcvdSpct", "capabilityRcvdSpct", 48198, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Capability Messages Received suspect count" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdSpct", prop) prop = PropMeta("str", "capabilityRcvdThr", "capabilityRcvdThr", 48199, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Capability Messages Received thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("capabilityRcvdThr", prop) prop = PropMeta("str", "capabilityRcvdTr", "capabilityRcvdTr", 48201, PropCategory.IMPLICIT_TREND) prop.label = "Number of Capability Messages Received trend" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdTr", prop) prop = PropMeta("str", "capabilityRcvdTrBase", "capabilityRcvdTrBase", 48200, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Number of Capability Messages Received trend baseline" prop.isOper = True prop.isStats = True meta.props.add("capabilityRcvdTrBase", prop) prop = PropMeta("str", "capabilitySentAvg", "capabilitySentAvg", 48218, PropCategory.IMPLICIT_AVG) prop.label = "Number of Capability Messages Sent average value" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentAvg", prop) prop = PropMeta("str", "capabilitySentBase", "capabilitySentBase", 48213, PropCategory.IMPLICIT_BASELINE) prop.label = "Number of Capability Messages Sent baseline" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentBase", prop) prop = PropMeta("str", "capabilitySentCum", "capabilitySentCum", 48214, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Capability Messages Sent cumulative" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentCum", prop) prop = PropMeta("str", "capabilitySentLast", "capabilitySentLast", 48212, PropCategory.IMPLICIT_LASTREADING) prop.label = "Number of Capability Messages Sent current value" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentLast", prop) prop = PropMeta("str", "capabilitySentMax", "capabilitySentMax", 48217, PropCategory.IMPLICIT_MAX) prop.label = "Number of Capability Messages Sent maximum value" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentMax", prop) prop = PropMeta("str", "capabilitySentMin", "capabilitySentMin", 48216, PropCategory.IMPLICIT_MIN) prop.label = "Number of Capability Messages Sent minimum value" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentMin", prop) prop = PropMeta("str", "capabilitySentPer", "capabilitySentPer", 48215, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Capability Messages Sent periodic" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentPer", prop) prop = PropMeta("str", "capabilitySentRate", "capabilitySentRate", 48223, PropCategory.IMPLICIT_RATE) prop.label = "Number of Capability Messages Sent rate" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentRate", prop) prop = PropMeta("str", "capabilitySentSpct", "capabilitySentSpct", 48219, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Capability Messages Sent suspect count" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentSpct", prop) prop = PropMeta("str", "capabilitySentThr", "capabilitySentThr", 48220, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Capability Messages Sent thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("capabilitySentThr", prop) prop = PropMeta("str", "capabilitySentTr", "capabilitySentTr", 48222, PropCategory.IMPLICIT_TREND) prop.label = "Number of Capability Messages Sent trend" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentTr", prop) prop = PropMeta("str", "capabilitySentTrBase", "capabilitySentTrBase", 48221, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Number of Capability Messages Sent trend baseline" prop.isOper = True prop.isStats = True meta.props.add("capabilitySentTrBase", prop) prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "routeRefreshRcvdAvg", "routeRefreshRcvdAvg", 48239, PropCategory.IMPLICIT_AVG) prop.label = "Number of Route Refresh Messages Received average value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdAvg", prop) prop = PropMeta("str", "routeRefreshRcvdBase", "routeRefreshRcvdBase", 48234, PropCategory.IMPLICIT_BASELINE) prop.label = "Number of Route Refresh Messages Received baseline" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdBase", prop) prop = PropMeta("str", "routeRefreshRcvdCum", "routeRefreshRcvdCum", 48235, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Route Refresh Messages Received cumulative" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdCum", prop) prop = PropMeta("str", "routeRefreshRcvdLast", "routeRefreshRcvdLast", 48233, PropCategory.IMPLICIT_LASTREADING) prop.label = "Number of Route Refresh Messages Received current value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdLast", prop) prop = PropMeta("str", "routeRefreshRcvdMax", "routeRefreshRcvdMax", 48238, PropCategory.IMPLICIT_MAX) prop.label = "Number of Route Refresh Messages Received maximum value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdMax", prop) prop = PropMeta("str", "routeRefreshRcvdMin", "routeRefreshRcvdMin", 48237, PropCategory.IMPLICIT_MIN) prop.label = "Number of Route Refresh Messages Received minimum value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdMin", prop) prop = PropMeta("str", "routeRefreshRcvdPer", "routeRefreshRcvdPer", 48236, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Route Refresh Messages Received periodic" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdPer", prop) prop = PropMeta("str", "routeRefreshRcvdRate", "routeRefreshRcvdRate", 48244, PropCategory.IMPLICIT_RATE) prop.label = "Number of Route Refresh Messages Received rate" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdRate", prop) prop = PropMeta("str", "routeRefreshRcvdSpct", "routeRefreshRcvdSpct", 48240, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Route Refresh Messages Received suspect count" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdSpct", prop) prop = PropMeta("str", "routeRefreshRcvdThr", "routeRefreshRcvdThr", 48241, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Route Refresh Messages Received thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("routeRefreshRcvdThr", prop) prop = PropMeta("str", "routeRefreshRcvdTr", "routeRefreshRcvdTr", 48243, PropCategory.IMPLICIT_TREND) prop.label = "Number of Route Refresh Messages Received trend" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdTr", prop) prop = PropMeta("str", "routeRefreshRcvdTrBase", "routeRefreshRcvdTrBase", 48242, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Number of Route Refresh Messages Received trend baseline" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshRcvdTrBase", prop) prop = PropMeta("str", "routeRefreshSentAvg", "routeRefreshSentAvg", 48260, PropCategory.IMPLICIT_AVG) prop.label = "Number of Route Refresh Messages Sent average value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentAvg", prop) prop = PropMeta("str", "routeRefreshSentBase", "routeRefreshSentBase", 48255, PropCategory.IMPLICIT_BASELINE) prop.label = "Number of Route Refresh Messages Sent baseline" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentBase", prop) prop = PropMeta("str", "routeRefreshSentCum", "routeRefreshSentCum", 48256, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "Number of Route Refresh Messages Sent cumulative" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentCum", prop) prop = PropMeta("str", "routeRefreshSentLast", "routeRefreshSentLast", 48254, PropCategory.IMPLICIT_LASTREADING) prop.label = "Number of Route Refresh Messages Sent current value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentLast", prop) prop = PropMeta("str", "routeRefreshSentMax", "routeRefreshSentMax", 48259, PropCategory.IMPLICIT_MAX) prop.label = "Number of Route Refresh Messages Sent maximum value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentMax", prop) prop = PropMeta("str", "routeRefreshSentMin", "routeRefreshSentMin", 48258, PropCategory.IMPLICIT_MIN) prop.label = "Number of Route Refresh Messages Sent minimum value" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentMin", prop) prop = PropMeta("str", "routeRefreshSentPer", "routeRefreshSentPer", 48257, PropCategory.IMPLICIT_PERIODIC) prop.label = "Number of Route Refresh Messages Sent periodic" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentPer", prop) prop = PropMeta("str", "routeRefreshSentRate", "routeRefreshSentRate", 48265, PropCategory.IMPLICIT_RATE) prop.label = "Number of Route Refresh Messages Sent rate" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentRate", prop) prop = PropMeta("str", "routeRefreshSentSpct", "routeRefreshSentSpct", 48261, PropCategory.IMPLICIT_SUSPECT) prop.label = "Number of Route Refresh Messages Sent suspect count" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentSpct", prop) prop = PropMeta("str", "routeRefreshSentThr", "routeRefreshSentThr", 48262, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "Number of Route Refresh Messages Sent thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("routeRefreshSentThr", prop) prop = PropMeta("str", "routeRefreshSentTr", "routeRefreshSentTr", 48264, PropCategory.IMPLICIT_TREND) prop.label = "Number of Route Refresh Messages Sent trend" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentTr", prop) prop = PropMeta("str", "routeRefreshSentTrBase", "routeRefreshSentTrBase", 48263, PropCategory.IMPLICIT_TREND_BASE) prop.label = "Number of Route Refresh Messages Sent trend baseline" prop.isOper = True prop.isStats = True meta.props.add("routeRefreshSentTrBase", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
class WebConnAg1h(Mo): """ A class that represents the most current aggregated statistics for web connections in a 1 hour sampling interval. This class updates every 15 minutes. """ meta = StatsClassMeta("cobra.model.comm.WebConnAg1h", "web connections") counter = CounterMeta("handled", CounterCategory.COUNTER, "connections", "total handled connections") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "handledCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "handledPer" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "handledSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "handledThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "handledTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "handledTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "handledRate" meta._counters.append(counter) counter = CounterMeta("accepted", CounterCategory.COUNTER, "connections", "total accepted connections") counter._propRefs[PropCategory.IMPLICIT_CUMULATIVE] = "acceptedCum" counter._propRefs[PropCategory.IMPLICIT_PERIODIC] = "acceptedPer" counter._propRefs[PropCategory.IMPLICIT_SUSPECT] = "acceptedSpct" counter._propRefs[PropCategory.IMPLICIT_THRESHOLDED] = "acceptedThr" counter._propRefs[PropCategory.IMPLICIT_TREND_BASE] = "acceptedTrBase" counter._propRefs[PropCategory.IMPLICIT_TREND] = "acceptedTr" counter._propRefs[PropCategory.IMPLICIT_RATE] = "acceptedRate" meta._counters.append(counter) counter = CounterMeta("active", CounterCategory.GAUGE, "connections", "current active connections") meta._counters.append(counter) meta.moClassName = "commWebConnAg1h" meta.rnFormat = "CDcommWebConnAg1h" meta.category = MoCategory.STATS_CURRENT meta.label = "current aggregated web connections stats in 1 hour" meta.writeAccessMask = 0x1 meta.readAccessMask = 0x1 meta.isDomainable = False meta.isReadOnly = True meta.isConfigurable = False meta.isDeletable = False meta.isContextRoot = True meta.parentClasses.add("cobra.model.comm.Https") meta.parentClasses.add("cobra.model.comm.Http") meta.superClasses.add("cobra.model.comm.WebConnAg") meta.superClasses.add("cobra.model.stats.Item") meta.superClasses.add("cobra.model.stats.Curr") meta.rnPrefixes = [ ('CDcommWebConnAg1h', False), ] prop = PropMeta("str", "acceptedCum", "acceptedCum", 19512, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "total accepted connections cumulative" prop.isOper = True prop.isStats = True meta.props.add("acceptedCum", prop) prop = PropMeta("str", "acceptedPer", "acceptedPer", 19513, PropCategory.IMPLICIT_PERIODIC) prop.label = "total accepted connections periodic" prop.isOper = True prop.isStats = True meta.props.add("acceptedPer", prop) prop = PropMeta("str", "acceptedRate", "acceptedRate", 19518, PropCategory.IMPLICIT_RATE) prop.label = "total accepted connections rate" prop.isOper = True prop.isStats = True meta.props.add("acceptedRate", prop) prop = PropMeta("str", "acceptedSpct", "acceptedSpct", 19514, PropCategory.IMPLICIT_SUSPECT) prop.label = "total accepted connections suspect count" prop.isOper = True prop.isStats = True meta.props.add("acceptedSpct", prop) prop = PropMeta("str", "acceptedThr", "acceptedThr", 19515, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "total accepted connections thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("acceptedThr", prop) prop = PropMeta("str", "acceptedTr", "acceptedTr", 19517, PropCategory.IMPLICIT_TREND) prop.label = "total accepted connections trend" prop.isOper = True prop.isStats = True meta.props.add("acceptedTr", prop) prop = PropMeta("str", "acceptedTrBase", "acceptedTrBase", 19516, PropCategory.IMPLICIT_TREND_BASE) prop.label = "total accepted connections trend baseline" prop.isOper = True prop.isStats = True meta.props.add("acceptedTrBase", prop) prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("deleteAll", "deleteall", 16384) prop._addConstant("deleteNonPresent", "deletenonpresent", 8192) prop._addConstant("ignore", "ignore", 4096) meta.props.add("childAction", prop) prop = PropMeta("str", "cnt", "cnt", 16212, PropCategory.REGULAR) prop.label = "Number of Collections During this Interval" prop.isImplicit = True prop.isAdmin = True meta.props.add("cnt", prop) prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN) prop.label = "None" prop.isDn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("dn", prop) prop = PropMeta("str", "handledCum", "handledCum", 19597, PropCategory.IMPLICIT_CUMULATIVE) prop.label = "total handled connections cumulative" prop.isOper = True prop.isStats = True meta.props.add("handledCum", prop) prop = PropMeta("str", "handledPer", "handledPer", 19598, PropCategory.IMPLICIT_PERIODIC) prop.label = "total handled connections periodic" prop.isOper = True prop.isStats = True meta.props.add("handledPer", prop) prop = PropMeta("str", "handledRate", "handledRate", 19603, PropCategory.IMPLICIT_RATE) prop.label = "total handled connections rate" prop.isOper = True prop.isStats = True meta.props.add("handledRate", prop) prop = PropMeta("str", "handledSpct", "handledSpct", 19599, PropCategory.IMPLICIT_SUSPECT) prop.label = "total handled connections suspect count" prop.isOper = True prop.isStats = True meta.props.add("handledSpct", prop) prop = PropMeta("str", "handledThr", "handledThr", 19600, PropCategory.IMPLICIT_THRESHOLDED) prop.label = "total handled connections thresholded flags" prop.isOper = True prop.isStats = True prop.defaultValue = 0 prop.defaultValueStr = "unspecified" prop._addConstant("avgCrit", "avg-severity-critical", 2199023255552) prop._addConstant("avgHigh", "avg-crossed-high-threshold", 68719476736) prop._addConstant("avgLow", "avg-crossed-low-threshold", 137438953472) prop._addConstant("avgMajor", "avg-severity-major", 1099511627776) prop._addConstant("avgMinor", "avg-severity-minor", 549755813888) prop._addConstant("avgRecovering", "avg-recovering", 34359738368) prop._addConstant("avgWarn", "avg-severity-warning", 274877906944) prop._addConstant("cumulativeCrit", "cumulative-severity-critical", 8192) prop._addConstant("cumulativeHigh", "cumulative-crossed-high-threshold", 256) prop._addConstant("cumulativeLow", "cumulative-crossed-low-threshold", 512) prop._addConstant("cumulativeMajor", "cumulative-severity-major", 4096) prop._addConstant("cumulativeMinor", "cumulative-severity-minor", 2048) prop._addConstant("cumulativeRecovering", "cumulative-recovering", 128) prop._addConstant("cumulativeWarn", "cumulative-severity-warning", 1024) prop._addConstant("lastReadingCrit", "lastreading-severity-critical", 64) prop._addConstant("lastReadingHigh", "lastreading-crossed-high-threshold", 2) prop._addConstant("lastReadingLow", "lastreading-crossed-low-threshold", 4) prop._addConstant("lastReadingMajor", "lastreading-severity-major", 32) prop._addConstant("lastReadingMinor", "lastreading-severity-minor", 16) prop._addConstant("lastReadingRecovering", "lastreading-recovering", 1) prop._addConstant("lastReadingWarn", "lastreading-severity-warning", 8) prop._addConstant("maxCrit", "max-severity-critical", 17179869184) prop._addConstant("maxHigh", "max-crossed-high-threshold", 536870912) prop._addConstant("maxLow", "max-crossed-low-threshold", 1073741824) prop._addConstant("maxMajor", "max-severity-major", 8589934592) prop._addConstant("maxMinor", "max-severity-minor", 4294967296) prop._addConstant("maxRecovering", "max-recovering", 268435456) prop._addConstant("maxWarn", "max-severity-warning", 2147483648) prop._addConstant("minCrit", "min-severity-critical", 134217728) prop._addConstant("minHigh", "min-crossed-high-threshold", 4194304) prop._addConstant("minLow", "min-crossed-low-threshold", 8388608) prop._addConstant("minMajor", "min-severity-major", 67108864) prop._addConstant("minMinor", "min-severity-minor", 33554432) prop._addConstant("minRecovering", "min-recovering", 2097152) prop._addConstant("minWarn", "min-severity-warning", 16777216) prop._addConstant("periodicCrit", "periodic-severity-critical", 1048576) prop._addConstant("periodicHigh", "periodic-crossed-high-threshold", 32768) prop._addConstant("periodicLow", "periodic-crossed-low-threshold", 65536) prop._addConstant("periodicMajor", "periodic-severity-major", 524288) prop._addConstant("periodicMinor", "periodic-severity-minor", 262144) prop._addConstant("periodicRecovering", "periodic-recovering", 16384) prop._addConstant("periodicWarn", "periodic-severity-warning", 131072) prop._addConstant("rateCrit", "rate-severity-critical", 36028797018963968) prop._addConstant("rateHigh", "rate-crossed-high-threshold", 1125899906842624) prop._addConstant("rateLow", "rate-crossed-low-threshold", 2251799813685248) prop._addConstant("rateMajor", "rate-severity-major", 18014398509481984) prop._addConstant("rateMinor", "rate-severity-minor", 9007199254740992) prop._addConstant("rateRecovering", "rate-recovering", 562949953421312) prop._addConstant("rateWarn", "rate-severity-warning", 4503599627370496) prop._addConstant("trendCrit", "trend-severity-critical", 281474976710656) prop._addConstant("trendHigh", "trend-crossed-high-threshold", 8796093022208) prop._addConstant("trendLow", "trend-crossed-low-threshold", 17592186044416) prop._addConstant("trendMajor", "trend-severity-major", 140737488355328) prop._addConstant("trendMinor", "trend-severity-minor", 70368744177664) prop._addConstant("trendRecovering", "trend-recovering", 4398046511104) prop._addConstant("trendWarn", "trend-severity-warning", 35184372088832) prop._addConstant("unspecified", None, 0) meta.props.add("handledThr", prop) prop = PropMeta("str", "handledTr", "handledTr", 19602, PropCategory.IMPLICIT_TREND) prop.label = "total handled connections trend" prop.isOper = True prop.isStats = True meta.props.add("handledTr", prop) prop = PropMeta("str", "handledTrBase", "handledTrBase", 19601, PropCategory.IMPLICIT_TREND_BASE) prop.label = "total handled connections trend baseline" prop.isOper = True prop.isStats = True meta.props.add("handledTrBase", prop) prop = PropMeta("str", "lastCollOffset", "lastCollOffset", 111, PropCategory.REGULAR) prop.label = "Collection Length" prop.isImplicit = True prop.isAdmin = True meta.props.add("lastCollOffset", prop) prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop.defaultValue = 0 prop.defaultValueStr = "never" prop._addConstant("never", "never", 0) meta.props.add("modTs", prop) prop = PropMeta("str", "repIntvEnd", "repIntvEnd", 110, PropCategory.REGULAR) prop.label = "Reporting End Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvEnd", prop) prop = PropMeta("str", "repIntvStart", "repIntvStart", 109, PropCategory.REGULAR) prop.label = "Reporting Start Time" prop.isImplicit = True prop.isAdmin = True meta.props.add("repIntvStart", prop) prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN) prop.label = "None" prop.isRn = True prop.isImplicit = True prop.isAdmin = True prop.isCreateOnly = True meta.props.add("rn", prop) prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS) prop.label = "None" prop.isImplicit = True prop.isAdmin = True prop._addConstant("created", "created", 2) prop._addConstant("deleted", "deleted", 8) prop._addConstant("modified", "modified", 4) meta.props.add("status", prop) # Deployment Meta meta.deploymentQuery = True meta.deploymentType = "Ancestor" def __init__(self, parentMoOrDn, markDirty=True, **creationProps): namingVals = [] Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)