# PySNMP SMI module. Autogenerated from smidump -f python APPN-TRAP-MIB
# by libsmi2pysnmp-0.0.8-alpha at Tue Feb  5 21:04:59 2008,
# Python version (2, 4, 4, 'final', 0)

# Imported just in case new ASN.1 types would be created
from pyasn1.type import constraint, namedval

# Imports

( dlurDlusSessnStatus, ) = mibBuilder.importSymbols("APPN-DLUR-MIB", "dlurDlusSessnStatus")
( appnCompliances, appnGroups, appnIsInP2SFmdBytes, appnIsInP2SFmdPius, appnIsInP2SNonFmdBytes, appnIsInP2SNonFmdPius, appnIsInS2PFmdBytes, appnIsInS2PFmdPius, appnIsInS2PNonFmdBytes, appnIsInS2PNonFmdPius, appnIsInSessUpTime, appnLocalTgCpCpSession, appnLocalTgOperational, appnLsOperState, appnMIB, appnObjects, appnPortOperState, ) = mibBuilder.importSymbols("APPN-MIB", "appnCompliances", "appnGroups", "appnIsInP2SFmdBytes", "appnIsInP2SFmdPius", "appnIsInP2SNonFmdBytes", "appnIsInP2SNonFmdPius", "appnIsInS2PFmdBytes", "appnIsInS2PFmdPius", "appnIsInS2PNonFmdBytes", "appnIsInS2PNonFmdPius", "appnIsInSessUpTime", "appnLocalTgCpCpSession", "appnLocalTgOperational", "appnLsOperState", "appnMIB", "appnObjects", "appnPortOperState")
( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
( ModuleCompliance, NotificationGroup, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
( Bits, Counter32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks")

# Objects

appnTrapMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 34, 4, 0)).setRevisions(("1998-08-31 00:00",))
if mibBuilder.loadTexts: appnTrapMIB.setOrganization("IETF SNA NAU MIB WG / AIW APPN MIBs SIG")
if mibBuilder.loadTexts: appnTrapMIB.setContactInfo("\nBob Clouston\nCisco Systems\n7025 Kit Creek Road\nP.O. Box 14987\nResearch Triangle Park, NC 27709, USA\nTel:    1 919 472 2333\nE-mail: clouston@cisco.com\n\nBob Moore\nIBM Corporation\n4205 S. Miami Boulevard\nBRQA/501\nP.O. Box 12195\nResearch Triangle Park, NC 27709, USA\nTel:    1 919 254 4436\nE-mail: remoore@us.ibm.com")
if mibBuilder.loadTexts: appnTrapMIB.setDescription("This MIB module defines notifications to be generated by\nnetwork devices with APPN capabilities.  It presupposes\nsupport for the APPN MIB.  It also presupposes\nsupport for the DLUR MIB for implementations\nthat support the DLUR-related groups.")
appnTrapObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 34, 4, 1, 7))
appnTrapControl = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 7, 1), Bits().subtype(namedValues=namedval.NamedValues(("appnLocalTgOperStateChangeTrap", 0), ("appnLocalTgCpCpChangeTrap", 1), ("appnPortOperStateChangeTrap", 2), ("appnLsOperStateChangeTrap", 3), ("dlurDlusStateChangeTrap", 4), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: appnTrapControl.setDescription("An object to turn APPN notification generation on and off.\nSetting a notification type's bit to 1 enables generation of\nnotifications of that type, subject to further filtering\nresulting from entries in the snmpNotificationMIB.  Setting\nthis bit to 0 disables generation of notifications of that\ntype.\n\nNote that generation of the appnIsrAccountingDataTrap is\ncontrolled by the appnIsInGlobeCtrAdminStatus object in\nthe APPN MIB:  if counts of intermediate session traffic\nare being kept at all, then the notification is also enabled.")
appnLocalTgTableChanges = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 7, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: appnLocalTgTableChanges.setDescription("A count of the number of times a row in the appnLocalTgTable\nhas changed status since the APPN node was last reinitialized.\nThis counter is incremented whenever a condition is detected\nthat would cause a appnLocalTgOperStateChangeTrap or\nappnLocalTgCpCpChangeTrap notification to be sent, whether\nor not those notifications are enabled.")
appnPortTableChanges = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 7, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: appnPortTableChanges.setDescription("A count of the number of times a row in the appnPortTable\nhas changed status since the APPN node was last reinitialized.\nThis counter is incremented whenever a condition is detected\nthat would cause a appnPortOperStateChangeTrap notification\nto be sent, whether or not this notification is enabled.")
appnLsTableChanges = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 7, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: appnLsTableChanges.setDescription("A count of the number of times a row in the appnLsTable\nhas changed status since the APPN node was last reinitialized.\nThis counter is incremented whenever a condition is detected\nthat would cause a appnLsOperStateChangeTrap notification\nto be sent, whether or not this notification is enabled.")
dlurDlusTableChanges = MibScalar((1, 3, 6, 1, 2, 1, 34, 4, 1, 7, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dlurDlusTableChanges.setDescription("A count of the number of times a row in the dlurDlusTable\nhas changed status since the APPN node was last reinitialized.\nThis counter is incremented whenever a condition is detected\nthat would cause a dlurDlusStateChangeTrap notification\nto be sent, whether or not this notification is enabled.")

# Augmentions

# Notifications

appnPortOperStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 4)).setObjects(("APPN-MIB", "appnPortOperState"), ("APPN-TRAP-MIB", "appnPortTableChanges"), )
appnLsOperStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 5)).setObjects(("APPN-MIB", "appnLsOperState"), ("APPN-TRAP-MIB", "appnLsTableChanges"), )
dlurDlusStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 6)).setObjects(("APPN-DLUR-MIB", "dlurDlusSessnStatus"), ("APPN-TRAP-MIB", "dlurDlusTableChanges"), )
appnLocalTgOperStateChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 2)).setObjects(("APPN-TRAP-MIB", "appnLocalTgTableChanges"), ("APPN-MIB", "appnLocalTgOperational"), )
appnIsrAccountingDataTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 1)).setObjects(("APPN-MIB", "appnIsInS2PNonFmdPius"), ("APPN-MIB", "appnIsInP2SNonFmdPius"), ("APPN-MIB", "appnIsInP2SFmdBytes"), ("APPN-MIB", "appnIsInS2PFmdPius"), ("APPN-MIB", "appnIsInP2SNonFmdBytes"), ("APPN-MIB", "appnIsInSessUpTime"), ("APPN-MIB", "appnIsInP2SFmdPius"), ("APPN-MIB", "appnIsInS2PNonFmdBytes"), ("APPN-MIB", "appnIsInS2PFmdBytes"), )
appnLocalTgCpCpChangeTrap = NotificationType((1, 3, 6, 1, 2, 1, 34, 4, 0, 3)).setObjects(("APPN-TRAP-MIB", "appnLocalTgTableChanges"), ("APPN-MIB", "appnLocalTgCpCpSession"), )

# Groups

appnTrapMibDlurConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 24)).setObjects(("APPN-TRAP-MIB", "appnTrapControl"), ("APPN-TRAP-MIB", "dlurDlusTableChanges"), )
appnTrapMibIsrNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 21)).setObjects(("APPN-TRAP-MIB", "appnIsrAccountingDataTrap"), )
appnTrapMibTopoNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 23)).setObjects(("APPN-TRAP-MIB", "appnLocalTgCpCpChangeTrap"), ("APPN-TRAP-MIB", "appnLocalTgOperStateChangeTrap"), ("APPN-TRAP-MIB", "appnLsOperStateChangeTrap"), ("APPN-TRAP-MIB", "appnPortOperStateChangeTrap"), )
appnTrapMibDlurNotifGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 25)).setObjects(("APPN-TRAP-MIB", "dlurDlusStateChangeTrap"), )
appnTrapMibTopoConfGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 34, 4, 3, 2, 22)).setObjects(("APPN-TRAP-MIB", "appnTrapControl"), ("APPN-TRAP-MIB", "appnLocalTgTableChanges"), ("APPN-TRAP-MIB", "appnPortTableChanges"), ("APPN-TRAP-MIB", "appnLsTableChanges"), )

# Exports

# Module identity
mibBuilder.exportSymbols("APPN-TRAP-MIB", PYSNMP_MODULE_ID=appnTrapMIB)

# Objects
mibBuilder.exportSymbols("APPN-TRAP-MIB", appnTrapMIB=appnTrapMIB, appnTrapObjects=appnTrapObjects, appnTrapControl=appnTrapControl, appnLocalTgTableChanges=appnLocalTgTableChanges, appnPortTableChanges=appnPortTableChanges, appnLsTableChanges=appnLsTableChanges, dlurDlusTableChanges=dlurDlusTableChanges)

# Notifications
mibBuilder.exportSymbols("APPN-TRAP-MIB", appnPortOperStateChangeTrap=appnPortOperStateChangeTrap, appnLsOperStateChangeTrap=appnLsOperStateChangeTrap, dlurDlusStateChangeTrap=dlurDlusStateChangeTrap, appnLocalTgOperStateChangeTrap=appnLocalTgOperStateChangeTrap, appnIsrAccountingDataTrap=appnIsrAccountingDataTrap, appnLocalTgCpCpChangeTrap=appnLocalTgCpCpChangeTrap)

# Groups
mibBuilder.exportSymbols("APPN-TRAP-MIB", appnTrapMibDlurConfGroup=appnTrapMibDlurConfGroup, appnTrapMibIsrNotifGroup=appnTrapMibIsrNotifGroup, appnTrapMibTopoNotifGroup=appnTrapMibTopoNotifGroup, appnTrapMibDlurNotifGroup=appnTrapMibDlurNotifGroup, appnTrapMibTopoConfGroup=appnTrapMibTopoConfGroup)
