#
# PySNMP MIB module PACKETLOGIC-TRAP-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PACKETLOGIC-TRAP-MIB
# Produced by pysmi-0.3.4 at Wed May  1 14:36:21 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) 
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint")
CounterBasedGauge64, = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64")
packetlogic2, = mibBuilder.importSymbols("PACKETLOGIC-MIB", "packetlogic2")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
IpAddress, MibIdentifier, Integer32, Counter64, Gauge32, TimeTicks, Counter32, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Unsigned32, NotificationType, ObjectIdentity, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "MibIdentifier", "Integer32", "Counter64", "Gauge32", "TimeTicks", "Counter32", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Unsigned32", "NotificationType", "ObjectIdentity", "Bits")
TextualConvention, DateAndTime, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DateAndTime", "DisplayString")
pl2Trap = ModuleIdentity((1, 3, 6, 1, 4, 1, 15397, 2, 8))
pl2Trap.setRevisions(('2012-09-26 12:48',))

if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
    if mibBuilder.loadTexts: pl2Trap.setRevisionsDescriptions((' Latest version at the revision date for version GET VERSION HERE',))
if mibBuilder.loadTexts: pl2Trap.setLastUpdated('201209261248Z')
if mibBuilder.loadTexts: pl2Trap.setOrganization('Procera Networks, Inc.')
if mibBuilder.loadTexts: pl2Trap.setContactInfo('support@proceranetworks.com')
if mibBuilder.loadTexts: pl2Trap.setDescription('MIB for PacketLogic2 traps')
pl2Traps = MibIdentifier((1, 3, 6, 1, 4, 1, 15397, 2, 8, 0))
pl2TrapVals = MibIdentifier((1, 3, 6, 1, 4, 1, 15397, 2, 8, 1))
pl2ChannelTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 15397, 2, 8, 2))
pl2ChannelTrapVals = MibIdentifier((1, 3, 6, 1, 4, 1, 15397, 2, 8, 3))
pl2TrapMessage = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pl2TrapMessage.setStatus('current')
if mibBuilder.loadTexts: pl2TrapMessage.setDescription('Message describing trap.')
pl2TrapOid = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 1, 2), ObjectIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pl2TrapOid.setStatus('current')
if mibBuilder.loadTexts: pl2TrapOid.setDescription('OID Causing trap.')
pl2TrapValue = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pl2TrapValue.setStatus('current')
if mibBuilder.loadTexts: pl2TrapValue.setDescription('Current value of item causing trap.')
pl2TrapThreshold = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pl2TrapThreshold.setStatus('current')
if mibBuilder.loadTexts: pl2TrapThreshold.setDescription('Threshold of item causing trap.')
pl2TrapValue64 = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pl2TrapValue64.setStatus('current')
if mibBuilder.loadTexts: pl2TrapValue64.setDescription('Current value of item causing trap.')
pl2TrapThreshold64 = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pl2TrapThreshold64.setStatus('current')
if mibBuilder.loadTexts: pl2TrapThreshold64.setDescription('Threshold of item causing trap.')
channelIndex = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 3, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: channelIndex.setStatus('current')
if mibBuilder.loadTexts: channelIndex.setDescription('Index of the channel.')
channelDescr = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 3, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: channelDescr.setStatus('current')
if mibBuilder.loadTexts: channelDescr.setDescription('A description of the channel.')
channelPort = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("external", 0), ("internal", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: channelPort.setStatus('current')
if mibBuilder.loadTexts: channelPort.setDescription('The port of the channel.')
prevState = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("auto", 0), ("hd-10", 1), ("fd-10", 2), ("hd-100", 3), ("fd-100", 4), ("fd-1000", 5), ("fd-10000", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: prevState.setStatus('current')
if mibBuilder.loadTexts: prevState.setDescription('This is the state the channel was in before it changed.')
newState = MibScalar((1, 3, 6, 1, 4, 1, 15397, 2, 8, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("auto", 0), ("hd-10", 1), ("fd-10", 2), ("hd-100", 3), ("fd-100", 4), ("fd-1000", 5), ("fd-10000", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: newState.setStatus('current')
if mibBuilder.loadTexts: newState.setDescription('This is the new state of the channel.')
pl2TrapGenericMsg = NotificationType((1, 3, 6, 1, 4, 1, 15397, 2, 8, 0, 1)).setObjects(("PACKETLOGIC-TRAP-MIB", "pl2TrapMessage"))
if mibBuilder.loadTexts: pl2TrapGenericMsg.setStatus('current')
if mibBuilder.loadTexts: pl2TrapGenericMsg.setDescription('Used for generic or undefined alerts. A message briefly explains the alert.')
pl2TrapGeneric = NotificationType((1, 3, 6, 1, 4, 1, 15397, 2, 8, 0, 2))
if mibBuilder.loadTexts: pl2TrapGeneric.setStatus('current')
if mibBuilder.loadTexts: pl2TrapGeneric.setDescription('Used for generic or undefined alerts without message. Should be avoided.')
pl2TrapSystemStatsAlert = NotificationType((1, 3, 6, 1, 4, 1, 15397, 2, 8, 0, 3)).setObjects(("PACKETLOGIC-TRAP-MIB", "pl2TrapThreshold"), ("PACKETLOGIC-TRAP-MIB", "pl2TrapMessage"), ("PACKETLOGIC-TRAP-MIB", "pl2TrapValue"), ("PACKETLOGIC-TRAP-MIB", "pl2TrapOid"))
if mibBuilder.loadTexts: pl2TrapSystemStatsAlert.setStatus('current')
if mibBuilder.loadTexts: pl2TrapSystemStatsAlert.setDescription('An Alert Threshold defined in SystemStats (System Diagnostics) was reached. This trap is used for items with 32 bit values.')
pl2TrapSystemStatsAlert64 = NotificationType((1, 3, 6, 1, 4, 1, 15397, 2, 8, 0, 4)).setObjects(("PACKETLOGIC-TRAP-MIB", "pl2TrapThreshold64"), ("PACKETLOGIC-TRAP-MIB", "pl2TrapMessage"), ("PACKETLOGIC-TRAP-MIB", "pl2TrapValue64"), ("PACKETLOGIC-TRAP-MIB", "pl2TrapOid"))
if mibBuilder.loadTexts: pl2TrapSystemStatsAlert64.setStatus('current')
if mibBuilder.loadTexts: pl2TrapSystemStatsAlert64.setDescription('An Alert Threshold defined in SystemStats (System Diagnostics) was reached. This trap is used for items with 64 bit values.')
pl2TrapSystemStatsAlertClear = NotificationType((1, 3, 6, 1, 4, 1, 15397, 2, 8, 0, 5)).setObjects(("PACKETLOGIC-TRAP-MIB", "pl2TrapOid"))
if mibBuilder.loadTexts: pl2TrapSystemStatsAlertClear.setStatus('current')
if mibBuilder.loadTexts: pl2TrapSystemStatsAlertClear.setDescription('An Alert Threshold defined in SystemStats (System Diagnostics) is now clear.')
pl2ChannelStateChanged = NotificationType((1, 3, 6, 1, 4, 1, 15397, 2, 8, 2, 1)).setObjects(("PACKETLOGIC-TRAP-MIB", "channelIndex"), ("PACKETLOGIC-TRAP-MIB", "channelDescr"), ("PACKETLOGIC-TRAP-MIB", "channelPort"), ("PACKETLOGIC-TRAP-MIB", "newState"), ("PACKETLOGIC-TRAP-MIB", "prevState"))
if mibBuilder.loadTexts: pl2ChannelStateChanged.setStatus('current')
if mibBuilder.loadTexts: pl2ChannelStateChanged.setDescription('Channel state changed')
mibBuilder.exportSymbols("PACKETLOGIC-TRAP-MIB", channelIndex=channelIndex, pl2TrapGeneric=pl2TrapGeneric, pl2TrapSystemStatsAlert64=pl2TrapSystemStatsAlert64, pl2TrapSystemStatsAlertClear=pl2TrapSystemStatsAlertClear, prevState=prevState, pl2TrapGenericMsg=pl2TrapGenericMsg, pl2TrapThreshold64=pl2TrapThreshold64, pl2TrapValue=pl2TrapValue, pl2ChannelStateChanged=pl2ChannelStateChanged, pl2TrapOid=pl2TrapOid, PYSNMP_MODULE_ID=pl2Trap, channelPort=channelPort, pl2ChannelTraps=pl2ChannelTraps, pl2Traps=pl2Traps, pl2Trap=pl2Trap, pl2TrapValue64=pl2TrapValue64, pl2TrapSystemStatsAlert=pl2TrapSystemStatsAlert, channelDescr=channelDescr, newState=newState, pl2TrapThreshold=pl2TrapThreshold, pl2TrapVals=pl2TrapVals, pl2ChannelTrapVals=pl2ChannelTrapVals, pl2TrapMessage=pl2TrapMessage)
